Q. Which of the following is correct about this pointer in C++?

  • (A) this pointer is passed as a hidden argument in all static variables of a class
  • (B) this pointer is passed as a hidden argument in all non-static functions of a class
  • (C) this pointer is passed as a hidden argument in all the functions of a class
  • (D) this pointer is passed as a hidden argument in all static functions of a class
πŸ’¬ Discuss
βœ… Correct Answer: (B) this pointer is passed as a hidden argument in all non-static functions of a class

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
262
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Babita
Publisher
πŸ“ˆ
90%
Success Rate