Can someone explain to me how this if-statement works? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 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
1 Antwort
17th May 2019, 11:42 AM
Gordon
Gordon - avatar