what is Union explain the example and syntax
Answers
Answered by
0
Answer:
Like Structures, union is a user defined data type. In union, all members share the same memory location. For example in the following C program, both x and y share the same location. If we change x, we can see the changes being reflected in y. #include <stdio.h>
Similar questions