1,191 views
0 votes
0 votes

The Correct answer is c but how?

int main()
{
    int a=210,b=120,c;
    c=a>b?1,2,3:2,5,6,7;
    printf("%d",c);
}

ans:-

a) 1

b) 2

c) 3

d) Error.

1 Answer

4 votes
4 votes

Related questions

1 votes
1 votes
0 answers
3