Jump to content

Return

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Altenmann (talk | contribs) at 17:37, 28 November 2003 (clerad up some mess). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computer science, subprograms (functions) will "return" to the higher-level programs, which called them; return ends the current task. In C++, return <X>; (where <X> is an expression) is a statement of code of a function which tells the function to return the execution of the program to the calling function, and report the value of <X>.