a union cannot be nested in a structure
Answers
Answered by
5
Answer:
06-May-2017 · 4 posts
1. A union cannot be nested in a structure ... # include<stdio.h> union Point { unsigned int x:4; unsigned int y:4; int res; }; int main() { union ...
Structures, Unions, Enums
Answered by
2
The answer is false.
A union can be nested in a structure.
Actually union and structure can be nested in each other which means that nesting union in structure and nesting structure in union, both are possible.
Union can also be nested in unions but that makes a little less sense.
Similar questions