Home » C Programming » Structures, Unions, Enums

Point out the error in the program? #include int main() { union a { int i; char ch[2]; }; union a z1 = {512}; union a z2 = {0, 2}; return 0; }

Correct Answer: Error: in Initializing z2

← Previous Question Next Question→

More Questions from Structures, Unions, Enums

Discussion & Comments

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