End Google Ads 201810 - BS.net 01 --> Hi,

I want to know the side effects if I don't save the value returned from a function call.

ex:

int foo()
{
return (10);
}

main()
{
foo();
}

Doubts:
1. Does this type of code may cause some warnings or other issues?
2. Is it an optimized approach or do I need to save the value returned by foo()?

Thanks for ur help.
Akash