Which statement is true?

a) The members of a union can be of any type.
b) The members of a union must all be of the same type.
c) A union may not be assigned to another union of the same type.
d) Unions may be compared to other unions of the same type.

a) The members of a union can be of any type.

Computer Science & Information Technology

You might also like to view...

Before you print your form letters, you should scan them to verify that you have the result you wanted

Indicate whether the statement is true or false

Computer Science & Information Technology

The following code should output the even integers from 2 to 100:

``` unsigned int counter{2}; do { cout << counter << endl; counter += 2; } While (counter < 100); ```

Computer Science & Information Technology