1.

Where does the return statement returns the execution of the program?(a) main function(b) caller function(c) same function(d) block functionThe question was asked in an internship interview.Question is from Value Return topic in chapter Functions, Namespaces & Exceptions in C++ of C++

Answer»

Right answer is (B) caller function

Explanation: The EXECUTION of the PROGRAM is returned to the point from where the function was called and the function from which this function was called is KNOWN as caller function.



Discussion

No Comment Found

Related InterviewSolutions