Q. Which of the following operators is used to access members of a class in C++?

  • (A) .
  • (B) ->
  • (C) ::
  • (D) []
πŸ’¬ Discuss
βœ… Correct Answer: (A) .
Explanation: In C++, the '.' operator is used to access members of a class or structure.
Explanation by: Rakesh Kumar
In C++, the '.' operator is used to access members of a class or structure.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
253
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Rakesh Kumar
Publisher
πŸ“ˆ
87%
Success Rate