You are not logged in.

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

hasnain
Administrator
From: Chichawatni
Registered: 2014-10-13
Posts: 8,355
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


Failure is the first step towards seccess.

2015-09-11 05:37:19

Advertisement
Ads By Google

Re: Non-Void Function:



\n

Board footer