Jun 13, 2019 in C Plus Plus
Q: What is the output of this C code?

    #include <stdio.h>
    int main()
    {
        int x = 1, y = 2;
        if (x && y == 1)
            printf("true\n");
        else
            printf("false\n");
    }
a.undefined behaviour
b.compile time error
c.FALSE
d.TRUE

Related questions

+1 vote
Jun 13, 2019 in C Plus Plus
+1 vote
Jun 13, 2019 in C Plus Plus
...