Sail E0 Webinar
Question


What will be the output of the following program?


#include
void MyFunction(int a, int b = 40)
{
cout
Options:
A .  a = 20 b = 40
B .  a = 20 b = 30
C .  a = 20 b = Garbage
D .  a = Garbage b = 40
Answer: Option B



Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers