Computer Science, asked by anirudhvee, 9 months ago

Is return statement optional? Compare and comment on the following two return statements: return return product

Answers

Answered by neerajagrawal88296
2

Explanation:

A function can have multiple return statements. When any of them is executed, the function terminates. A function can return multiple types of values.

Similar questions