Q. What is the output of following c++ program?
Code:{
int a = 5;
int b = 10;
cout << (a>b?a:b);
}
β
Correct Answer: (B)
10
{
int a = 5;
int b = 10;
cout << (a>b?a:b);
}
You must be Logged in to update hint/solution