Which of the following statements are correct?

Which of the following statements are correct?
A . A function can be defined inside another function
B . A function may have any number of return statements each returning different values.
C . A function can return floating point value
D . In a function two return statements should never occur.

Answer: B, C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments