adplus-dvertising
frame-decoration

Question

What does the statement

printf("%d",10?0?5:1:12);

prints :

a.

10

b.

5

c.

12

d.

1

Posted under C Programming

Answer: (d).1

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What does the statement printf("%d",10?0?5:1:12); prints :