1. Returns the value and continues executing rest of the statements, if any
  2. Returns the value and stops the program
  3. Returns the value and stops executing the function
  4. Stops executing the function and returns the value
4 views

1 Answers

Answer: Option 4

The return statement causes the function to stop executing and to return the value of its expression (if any) to the caller.

4 views

Related Questions