Q. What is the output of this code?
Code:
int a = 1;
if (a)
printf("True");
else
printf("False");
β
Correct Answer: (A)
True
Explanation: Any non-zero integer in condition is treated as true.