keywords:return

C++ Reference

return

Syntax:

    return;
    return( value );

The return statement causes execution to jump from the current function to whatever function called the current function. An optional value can be returned. A function may have more than one return statement.