Join Regular Classroom : Visit ClassroomTech

Difference between Structure and Union in C

A union is essentially a structure in which all of the fields overlay each other. At a time only one field can be used.

Don’t know what are unions in C?
Read: Unions in C
Table: Difference between Structure and Unions in C
Table: Difference between Structure and Unions in C
Categories
Also Checkout