What is the job of the return statement?

What will be an ideal response?

The return statement causes the program control to exit the function and return the program control to the calling function. Also, if the function returns a value, this value is placed in the return statement and a copy of this value is returned to the calling function

Computer Science & Information Technology

You might also like to view...

"In thousands" could be an adequate and appropriate Y-axis title

Indicate whether the statement is true or false

Computer Science & Information Technology

Input values should always be checked for

a. an appropriate range b. reasonableness c. division by zero, if division is taking place d. All of these e. None of these

Computer Science & Information Technology