Multiple choice

To assign a value to or access the value of a structure member, your programs must use the format variable -> member to access a structure.

  1. True

  2. False

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

To access a member of a structure using a pointer, the arrow operator (->) is used. However, if you have a direct structure variable, you use the dot operator (.) to access its members.