Computer Science, asked by badassedm, 4 months ago

2. What is the use of the return statement?​

Answers

Answered by Khadijah21
10

What is the use of the return statement?

A return statement ends the execution of a function, and returns control to the calling function. Execution resumes in the calling function at the point immediately following the call. A return statement can return a value to the calling function.

For more information, see Return type.

Khadijah21


Khadijah21: Thanks lot for Everytime marking me as BRAINLIEST
Answered by ashfiyanaaz9
2

Explanation:

A return statement ends the execution of a function, and returns control to the calling function. Execution resumes in the calling function at the point immediately following the call. A return statement can return a value to the calling function. For more information, see Return type.

Similar questions