A

Admin • 833K Points
Coach

Q. What is the output of the C statement.?

Code:
int main()
{
int a=0;
a = 5<2 ? 4 : 3;
printf("%d",a);

return 0;
}
  • (A) 4
  • (B) 3
  • (C) 5
  • (D) 2
  • Correct Answer - Option(B)
  • Views: 14
  • Filed under category C Programming
  • Hashtags:

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.