adplus-dvertising
frame-decoration

Question

Choose a correct C Statement.

a.

Nesting of ? : operator is possible.

b.

int main()
{
int a=5, b=8;

if( a>=5 || (b=9) )
{
printf("Gorilla Glass");
}

return 0;
}
//OUTPUT: Gorilla Glass

c.

int main()
{
int a=5, b=8;

if( a >= 5 && b <= 9 )
{
printf("Gorilla Glass");
}

return 0;
}
//OUTPUT: Gorilla Glass

d.

All of the above

Answer: (d).All of the above

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Choose a correct C Statement.