Home »
MCQs »
C++ MCQs
Which of the following operator is used to access the members using the pointer to the object of a class?
177. Which of the following operator is used to access the members using the pointer to the object of a class?
- .
- ->
- :
- None of the above
Answer: B) ->
Explanation:
The referential operator -> is used to access the members using the pointer to the object of a class in C++.