Qus : What is the purpose of the return statement in a function?
QusWhat is the purpose of the return statement in a function?
A. To exit the function and return control to the calling function B. To pause the function temporarily
C. To call the function again D. To exit the program
Solution
A. To exit the function and return control to the calling function