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
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.