Output of the following question | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Output of the following question

#include <stdio.h> int main() { int x = 1, y = 0, z = 3; x > y ? printf("%d", z) : return z; }

12th Nov 2017, 2:17 PM
padhmanaban
padhmanaban - avatar
2 Antworten
+ 14
code playground is your friend
12th Nov 2017, 2:20 PM
jay
jay - avatar
0
I don't think the ternary operator works in C, though
12th Nov 2017, 6:38 PM
Jonathan Álex
Jonathan Álex - avatar