[Solved] Does the return statement cause the execution to jump out from the currently executed function?

[ad_1]

The return statement will cause the execution jump out from the currently executed function (in this case accept3()), so the loop inside the function is also jumped out.

[ad_2]

solved Does the return statement cause the execution to jump out from the currently executed function?