Computer Science, asked by Tamaghna, 1 year ago

What is the role of the "Return" keyword. Please try to answer in a simple language.

Answers

Answered by Raghav138
1
The return statement terminates the execution of a functionand returns control to the calling function. Execution resumes in the calling function at the point immediately following the call. A return statement can also return a value to the callingfunction.

Tamaghna: Can u show this by an example?
Raghav138: i do not know that
Raghav138: sorry
Tamaghna: Ok thanks
Raghav138: welcome
Similar questions