Multiple choice

An object pointer can point to private members of a class.

  1. True

  2. False

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

Object pointers cannot directly access private members. Access specifiers apply regardless of whether you use an object or a pointer to an object. Private members are only accessible within member functions or friends.