what happened in case of function when return keyword is executed,
Answers
Answered by
1
Here is your answer friend...
The return statement stops the execution and returns specified value to the caller function. When a return statement is executed, the function is terminated immediately at that point, regardless of whether it's in the middle of a loop, etc.
Hope it would be helpful to you...
Please mark as brainliest answer....
Answered by
1
The return statement stops the execution and returns specified value to the caller function. When a return statement is executed, the function is terminated immediately at that point, regardless of whether it's in the middle of a loop, etc.
Similar questions
Math,
4 months ago
Math,
4 months ago
Computer Science,
4 months ago
Hindi,
8 months ago
Social Sciences,
8 months ago