You are not logged in.

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

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


Failure is the first step towards seccess.

2015-05-26 09:20:42

Advertisement
Ads By Google

Re: Non-Void Function:



\n

Board footer