Is return statement optional? Compare and comment on the following two return statements: return return product
Answers
Answered by
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
Science,
4 months ago
Social Sciences,
4 months ago
Chemistry,
4 months ago
Math,
9 months ago
Social Sciences,
1 year ago