Duyên Trương
New member
What will be the output of the following C code?
A. True
B. False
C. Compile time error
D. Undefined behaviour
Code:
#include <stdio.h>
int main()
{
int x = 0, y = 2;
if (!x && y)
printf("true\n");
else
printf("false\n");
}
B. False
C. Compile time error
D. Undefined behaviour