What is the use of return statement?
2521
28-Jan-2014
Sumit Kesarwani
28-Jan-2014The return statement is associated with procedures (methods or functions). On executing the return statement, the system passes the control from the called procedure to the calling procedure.
This return statement is used for two purposes :