Void function

I've looked through my book and can't find the answer to this:
"When and to where does control return from a void function?"
Can you answer this?
"When and to where does control return from any function?"
control will return from void function as soon as the execution of function is completed and it will not return any value as such.it will return to the same line of execution as before the execution of the void function....
closed account (zb0S216C)
A function that has a return type-specifier of void indicates that the function is not expected to return a object or value. void, in this context, means nothing.

Wazzak
Last edited on
Topic archived. No new replies allowed.