InterviewSolution
Saved Bookmarks
| 1. |
What are the jobs of a return statement in a program. |
|
Answer» In the case of a sub function a return statement helps to terminate the sub function and return back to the main function or called function. But in the case of a main function it terminates the program. |
|