1 / 20

What is the main purpose of the 'return' statement in a function?

?

To exit the function and optionally send a value back to the caller

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy