previous | start | next

return

The return statement affects the flow of control of execution of statements in a program.

A program code in C++ can be modularized into units: functions, class methods. The return statement sends execution back to the unit that called the current function or class method.



previous | start | next