+ 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???
1 Answer
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???