Multiple choice

You can define a union variable in C++ without giving it a particular name. State whether the above statement is true or false.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

C++ allows anonymous unions, which are unions without a name, and their members can be accessed directly.