You are not logged in.

#1 2015-09-11 05:37:15

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

Non-Void Function:

C Programming Quizzes C++ Placement

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):
1
Option C):
undefined
Option D):
0

Correct Answer is Option C):
undefined


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

2015-09-11 05:37:15

Advertisement
Ads By Google

Re: Non-Void Function:



Board footer