Question:What are the functions of return statement?
Answer
1. The role of the return statement is to provide the value of the expressions within the function.
2. Whenever the return keyword occurs in the function it returns the value instantly as specified and end the function execution.