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?

  1. .
  2. ->
  3. :
  4. 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++.

Comments and Discussions!

Load comments ↻






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