MCQs
Total Questions : 18
| Page 1 of 2 pages
Answer: Option C. -> Some address will be printed.
Answer: Option B. -> 9
Answer: Option A. -> call by value
Answer: Option B. -> Compilation Error
Answer: Option D. -> 45545
Question 9. 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.
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.
Answer: Option C. -> II and III
Answer: Option B. -> 5 4 3 2 1