Discussion :: C++ - MCQs
- What will happen when we use void in argument passing?
A.
It will not return value to its caller
|
B.
It will return value to its caller
|
C.
both a & b are correct
|
D.
none of the mentioned
|
Answer : Option A
Explanation :
As void is not having any return value, it will not return the value to the caller.
Be The First To Comment