Q. Which of the following operators is used for object dereferencing in C++?

  • (A) *
  • (B) &
  • (C) ->
  • (D) ::
πŸ’¬ Discuss
βœ… Correct Answer: (C) ->
Explanation: The '->' operator is used to access members of a structure or class through a pointer.
Explanation by: Ram Sharma
The '->' operator is used to access members of a structure or class through a pointer.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
105
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
90%
Success Rate