Home » C Programming » Structures, Unions, Enums

What will be the output of the program? #include int main() { union var { int a, b; }; union var v; v.a=10; v.b=20; printf("%d\n", v.a); return 0; }

Correct Answer: 20

← Previous Question Next Question→

More Questions from Structures, Unions, Enums

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion