Which Is The Correct Syntax For Declaring The Type Of This In A #1185
Which is the correct syntax for declaring the type of this in a member function?
This multiple choice question (MCQ) is related to the book/course
gs gs111 OOP Object Oriented Programming Java.
It can also be found in
gs gs111 Assigning Object, Pointer to Objects, Passing and Returning Object - OOPs MCQ: This Pointer - Quiz No.2.
Which is the correct syntax for declaring the type of this in a member function?
classType [cv-qualifier-list] *const this;
classType const[cv-qualifier-list] *this;
[cv-qualifier-list]*const classType this;
[cv-qualifier-list] classType *const this;