Vidyalelo
C++ Programming · Q18

Classes and Objects in C++

Programming · C++ Programming · question 18

Q18

Which operator is used to access members of a class through a pointer in C++?

A.
Arrow operator (->)
Answer
B.
Dot operator (.)
C.
Double colon (::)
D.
Star operator (*)

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board