1.

What will be the output of the following C code?#include <stdio.h> struct M { char c : 2; int n : 2; }; int main() { struct M m; m.c = 2; m.n = 1; m.c = m.c & m.n; printf("%d n", m.c); }

A. 1
B. 2
C. 0
D. Compilation Error
E. None of these
Answer» D. Compilation Error


Discussion

No Comment Found

Related MCQs