Value-returning functions return one value to the ___.
1)function that was last executed
2)main() function
3)function that called the function
4)statement that called the function
My ans is 3. Am I correct? Please correct me if I'm wrong. Thank you so much.
Last edited on
I would think its 4.
Following is a statement.
int retVal = SomeFunctionThatReturnsAnInt();
icic so the whole sentence is called a statement?
How do u explain that? I dun get the meaning of it. Isn't the back a function?