R

Ram Sharma • 193.86K Points
Coach

Q. What is the output of following c++ program?

Code:
{
int a = 5;
int b = 10;
cout << (a>b?a:b);
}
  • (A) 5
  • (B) 10
  • (C) Syntax error
  • (D) None of these

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.