+ 2

Need help with conditional statements

this is the code: #include <stdio.h> int main() { int i; if (printf("0")) i = 7; else i = 5; printf("%d", i); return 0; } answer is 07 Why???

24th Jan 2018, 4:39 AM
Ayush walia
Ayush walia - avatar
1 Odpowiedź