C Programming20815 marksUnion definition and initialization
Write short notes on: a) Union b) Switch statement [0+2.5+2.5]
Write short notes on: a) Union b) Switch statement [0+2.5+2.5]
A union is a user-defined data type in C that allows storing different data types in the same memory location. All members of a union share the same memory space, and the size of the union is equal to the size of its largest member. Syntax: Example: Key Points: - Only one member can hold a value ...