What is the purpose of a return statement in a function?
What is the purpose of a return statement in a function? Correct Answer Stops executing the function and returns the value
The return stops the execution of the function when it is encountered within the function. It returns the value to the statement where the function is called.
মোঃ আরিফুল ইসলাম
Feb 20, 2025