Multiple choice

What is the name of the term given to derived data type in which all data elements share the same location in memory?

  1. Pointers

  2. Structures

  3. Classes

  4. Unions

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

This is correct as all members share same memory location and the size of union is the size of the largest data element.