Computer Science, asked by ggi20201107, 2 months ago

Difference between structure and union ?​

Answers

Answered by shreya6475
4

A structure is a user-defined data type available in C that allows to combining data items of different kinds. Structures are used to represent a record. A union is a special data type available in C that allows storing different data types in the same memory location.

.

.

.

.

.

.

.

.

.

..

.

#THE GREAT SHREYA ❤️

Answered by Anonymous
3

Answer:

A structure is a user-defined data type available in C that allows to combining data items of different kinds. Structures are used to represent a record. A union is a special data type available in C that allows storing different data types in the same memory location.

Similar questions