return
statement
There are two forms of return
statement.
return expression; return;
Both forms are used for exiting from a function. The former returns the value of the expression as a function value. The function value of the latter is not defined.
Go to the first, previous, next, last section, table of contents.