πŸ“Š C++
Q. What is the use of this pointer in C++?
  • (A) The pointer “this” points to the current object of the class.
  • (B) To access objects of another class.
  • (C) To access members of a class that have the same name as local variables in this scope.
  • (D) All the answers are true
πŸ’¬ Discuss
βœ… Correct Answer: (A) The pointer “this” points to the current object of the class.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
199
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
80%
Success Rate