1,214 views
0 votes
0 votes
What is the output of given program?

#include<stdio.h>
int main()
{
    int x;
    x = 4 > 8 ? 5!= 1<5 == 0 ? 1:2:3;
    printf("%d",x);
    return 0;
}
option a. 1 b.2 c.3 d.compilation error

1 Answer

Related questions

18 votes
18 votes
3 answers
3