1.

What will be the output of the following C code?#include <stdio.h> struct St { unsigned int c : 2; unsigned int n : 2; }; int main() { struct St s; s.c = 13; s.n = 10; printf("%d n", s.n); }

A. 10
B. 13
C. 2
D. Garbage value
E. None of these
Answer» D. Garbage value


Discussion

No Comment Found

Related MCQs