Vidyalelo
C Programming · Q25

Structure and Union

Programming · C Programming · question 25

Q25

What is the primary use of a union in a C program?

A.
To represent multiple data types using the same memory location
Answer
B.
To store a collection of elements of the same type
C.
To organize data into a hierarchy
D.
To define a custom data type

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board