Q:

Which is the correct syntax for declaring type of this in a member function?

0

Which is the correct syntax for declaring type of this in a member function?


  1. classType [cv-qualifier-list] *const this;
  2. classType const[cv-qualifier-list] *this;
  3. [cv-qualifier-list]*const classType this;
  4. [cv-qualifier-list] classType *const this;

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (d).[cv-qualifier-list] classType *const this;

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING - OBJECTS AND POINTERS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
<< Which among the following is/are type(s) of this p...