C Programming Language MCQ Union in C Language
⚠ Report ✓ Question Verified Copy Link
#include"stdio.h" int main() { union a { int i; char ch[2]; }; union a u; u.ch[0]=3; u.ch[1]=2; printf("%d, %d, %d\n", u.ch[0], u.ch[1], u.i); return 0; }
Learn More MCQ Questions from C Programming Language MCQ Union in C Language