1.

What will be the output of the following C code?
#include <stdio.h>
int main()
{
int num1 = 4, num2 = 2;
int num3 = num2 && (num2 |= 20);
printf("%d n", num3);
return 0;
}

A. 1
B. 2
C. 4
D. 20
E. None of these
Answer» B. 2


Discussion

No Comment Found

Related MCQs