1.

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

A. 7
B. 2
C. Compilation Error
D. Garbage value
E. 110
Answer» F.


Discussion

No Comment Found

Related MCQs