2081.2 8

C Programming2081.25 marksDifferences between structure and union

What is union? Differentiate between pointer and array.

What is union? Differentiate between pointer and array. [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: Here, all three members share the same memo...

Up nextDifferentiate between switch statement and if else if ladder.