Vidyalelo
C Programming · Q39

Function

Programming · C Programming · question 39

Q39

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
Answer
D.
II and IV
E.
III and IV

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board