Operator Return

Top 

Syntax:

return;

Stops execution of the current function and returns control to the function that called it.

expression return;

Stops execution of the current function and returns control to the program that called it, together with the expression value.

Example:

return x + y;