In C++, which operator is used to access members of a class using a pointer ?

TPSC Computer/IT Posts 2025

In C++, which operator is used to access members of a class using a pointer ?

  1. A.

    .

  2. B.

    ->

  3. C.

    ::

  4. D.

    &

Attempted by 407 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…