Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In computer
programming, a return statement causes execution to leave the current
subroutine and resume at the point in the code immediately after where
the subroutine was called, known as its return address. The return
address is saved, usually on the process's call stack, as part of the
operation of making the subroutine call. Return statements in many
languages allow a function to specify a return value to be passed back
to the code that called the function. In C/C++, return exp; is a
statement that tells a function to return execution of the program to
the calling function, and report the value of exp. If a function has the
return type void, the return statement can be used without a value, in
which case the program just breaks out of the current function and
returns to the calling one.