Which of the following is correct about this pointer in C++?
A. this pointer is passed as a hidden argument in all the functions 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 static functions of a class
D. this pointer is passed as a hidden argument in all static variables of a class
Answer: Option B

Join The Discussion