All challenges
Multiple ChoiceHard 30s

Opaque Type Pattern

Forward-declaring a struct without definition creates:
Options
  1. 1An opaque type (pointer can be used, content hidden)
  2. 2A compiler error about the missing type definition
  3. 3A complete and fully usable type definition
  4. 4A typedef alias for the underlying struct type

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle