You are not logged in.

#1 2015-05-26 09:20:39

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++ if return statements is written in a non-void function without any specified value, what will be return value of the function?

Option A):
-1
Option B):
undefined
Option C):
0
Option D):
1

Correct Answer is Option B):
undefined


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

2015-05-26 09:20:39

Advertisement
Ads By Google

Re: Non-Void Function:



Board footer