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 Respuestas
+ 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