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?

  1. .
  2. ->
  3. :
  4. None of the above

Answer: A) .

Explanation:

The membership operator (.) is used to access the members using the object of a class in C++.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.