+ 1

Can someone explain to me how this if-statement works?

int a =1?0:2?3:4; printf ("%d",a); the output is 0

17th May 2019, 10:53 AM
MrNick7373
2 Answers
17th May 2019, 11:42 AM
Gordon
Gordon - avatar