MCQ Single Best Answer Not Set

QWhat is the output of this C code?

#include<stdio.h> 
int main()
 {
	int x = 1, y = 0;
	x &&= y;
	printf("%d\n", x);
 }

ID: #1209 Operators and Enums in C Language 838 views
Question Info
#1209Q ID
Not SetDifficulty
Operators and Enums in C LanguageTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • B Compile time error
  • C 1
  • D Undefined behaviour
Correct Answer: Option B

Explanation

Compile time error

Share This Question

Challenge a friend or share with your study group.