Keyword used to transfer control from a function back to the calling function - return

Q.  C++: The keyword used to transfer control from a function back to the calling function is
- Published on 24 Jun 15

a. switch
b. goto
c. go back
d. return

ANSWER: return
 
The return statement terminates the execution of a function and it returns the control to the calling function. The execution resumes in the calling function at a point immediately following the call.
 

    Discussion

  • P.Divyasree   -Posted on 20 May 20
    tqs for conducting

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)