What is the use of return statement?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Works at the International Atomic Energy Agency, Lives in Vienna, Austria.
The return statement terminates the execution of a function and returns control to the calling function. Execution resumes in the calling function at the point immediately following the call. A return statement can also return a value to the calling function. See Return Type for more information.
2023-05-14 14:09:57
评论(499)
Helpful(122)
Helpful
Helpful(2)

Felix Davis
QuesHub.com delivers expert answers and knowledge to you.
The return statement terminates the execution of a function and returns control to the calling function. Execution resumes in the calling function at the point immediately following the call. A return statement can also return a value to the calling function. See Return Type for more information.