You are not logged in.

#1 2015-05-26 09:21:26

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
Website

Non-Void Function:

Question:
In C++ how many return statements are allowed in a non-void function?

Option A):
as many as you like
Option B):
1
Option C):
0
Option D):
2

Correct Answer is Option A):
as many as you like


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

2015-05-26 09:21:26

Advertisement
Ads By Google

Re: Non-Void Function:



\n

Board footer