Examveda
Examveda

What will be the output of the following C code?
#include <stdio.h>
int main()
{
    int x = 1, y = 0;
    x &&= y;
    printf("%d\n", x);
}

A. Compile time error

B. 1

C. 0

D. Undefined behaviour

Answer: Option A


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals