MCQOPTIONS
Saved Bookmarks
| 1. |
Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment. |
| A. | I and II |
| B. | I and III |
| C. | II and III |
| D. | II and IV |
| Answer» D. II and IV | |