Home »
MCQs »
C++ MCQs
Which of the following operator is used to access the members using the object of a class?
176. Which of the following operator is used to access the members using the object of a class?
- .
- ->
- :
- None of the above
Answer: A) .
Explanation:
The membership operator (.) is used to access the members using the object of a class in C++.