Google News
logo
CPP - Quiz(MCQ)
What will happen when we use void in argument passing?
A)
It will return value
B)
It will not return value to its caller
C)
It will return value to its caller
D)
May or may not depend on the declared return type of the function, the passed arguments are different than the function return type

Correct Answer :   It will not return value to its caller


Explanation : As void is not having any return value, it will not return the value to the caller.

Advertisement