You are not logged in.

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

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
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


You cannot discover the new oceans unless you have the courage to lose the sight of the shore.

2015-09-14 06:10:38

Advertisement
Ads By Google

Re: Calling Environment:



Board footer