Computer Science, asked by prashant12330, 8 months ago

what happened in case of function when return keyword is executed,​

Answers

Answered by ganisha43
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 Anonymous
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