C++20 sections · 1024 units
Open in Course

Quiz: Struct Basics

Struct access

Quiz: Struct Basics

How do you access a member called name in a struct variable called person?

  1. A.person.name
  2. B.person[name]
  3. C.person->name
  4. D.name.person
Start the roadmap to answer the quizzes and solve the challenges