Which is a derived data type in C language that consists of different
members sharing the same memory location ?
Answers
Answered by
5
Which is a derived data type in C language that consists of different
members sharing the same memory location ?
Answered by
0
Answer:
Union is a derived data type in C language that consists of different
members sharing the same memory location.
Explanation:
With Union you can store different data kinds in the same memory region using a union. The union can have numerous members, but only one of them has worth at any given time. As a result, in C, union is a unique data type. Structure is a C container that stores data variables of various types and also allows for the storage of user-defined variables. Union, on the other hand, is a similar form of container in C that may house many types of variables as well as user-defined variables.
Similar questions