write the difference between structure and union. compare them with the help of an example.
Answers
Answered by
1
Answer:
Explanation:
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
Math,
6 months ago
Math,
6 months ago
World Languages,
1 year ago
Math,
1 year ago
Environmental Sciences,
1 year ago
Computer Science,
1 year ago