What will be the output of the following C code? [code] #include <stdio.h> int main() { int x = 0, y = 2; if

Duyên Trương

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

Tìm kiếm

Back
Top