Explain the function of a return statement.
Answers
Answered by
2
Answer:
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.
Answered by
1
Answer:
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
Science,
2 months ago
Chemistry,
2 months ago
History,
2 months ago
English,
5 months ago
Hindi,
5 months ago
Political Science,
10 months ago
Political Science,
10 months ago