Question
What is the purpose of a return statement in a function?
Returns the value and stops the executing the program
Stops executing the function and returns the value
Returns the program back to the start of the function and continues to execute statements
Returns the value and continues executing rest of the statements, if there are any
Returns the value and stops the executing the program
Stops executing the function and returns the value
Returns the program back to the start of the function and continues to execute statements
Returns the value and continues executing rest of the statements, if there are any
Answers
There are no human answers yet.
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.