You are not logged in.

#1 2015-09-14 06:10:40

hasnain
Administrator
From: Chichawatni
Registered: 2014-10-13
Posts: 8,355
Website

Calling Environment:

C Programming Quizzes C Language Function

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

Option A):
III and IV
Option B):
II and III
Option C):
II and IV
Option D):
I and II

Correct Answer is Option B):
II and III


Failure is the first step towards seccess.

2015-09-14 06:10:40

Advertisement
Ads By Google

Re: Calling Environment:



Board footer