R

Ram Sharma • 193.86K Points
Coach

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

Code:
int main()
{
    int a=0;
    a = (5>2) ? : 8;
    printf("%d",a);

    return 0;
}
  • (A) 0
  • (B) 1
  • (C) 8
  • (D) compiler error

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.