So this question is pretty straight forward, what exactly does the return statement do? I know for a fact that it stops the execution of a function, but what else? I've heard that it can do something along the lines of save a data type in a function.
The return statement ends function execution and specifies a value to be returned to the function caller.
See the thing is, I don't know what "returned to the function caller" means.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.