Vidyalelo
C++ Programming · Q9

Structures and Unions in C++

Programming · C++ Programming · question 9

Q9

What is a union in C++?

A.
A reserved keyword in C++
B.
A user-defined data type that allows storing different data types in the same memory location
Answer
C.
A way to declare arrays of data
D.
None of the above

Answer: Option B

Solution

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