The Return node terminates execution of the function in which it appears and returns control to the calling function. It can also return an optional value. If the function is a void type, the return statement can be omitted.

Was this helpful to you?

Leave a Reply

Your email address will not be published. Required fields are marked *