Happy diwali friends....
what is the difference between structures and unions?
Answers
Answered by
1
Structure is an user-defined data type in C that allows the user to combine data types of many kinds into a single type in block of memory.
Structure can contain both simple and complex data types related to one another which otherwise won’t make sense.
Special data type used in C that permits the user to store data types of different kinds in the same memory.
Union is similar to a structure and can be defined by replacing the keyword ‘struct’ with the keyword ‘union’.
NishmithaArjun:
thank you friend.happy diwali
Similar questions
Math,
7 months ago
Social Sciences,
7 months ago
Math,
7 months ago
Environmental Sciences,
1 year ago
Science,
1 year ago