C - Functions - Discussion

You Are Here :: Home > C > Functions - Discussion

 



Q.

Pick the correct statement

If a call to gets is not successful, what gets returned?
1.The body of function should have only one return statement
2.The body of function may have many return statements
3.The function can return only one value to the calling environment
4.If return statement is missing then the function does its job but doesn't return any value to the calling environment

A. 1,2 B. 2,3
C. 3,4 D. 4,1

Answer: Option B
Explaination:

 


No Explanation



Discussion

Your Comments Goes here...
NameDiscussion