1.

Which among the following is/are type(s) of this pointer?(a) const(b) volatile(c) const or volatile(d) intI had been asked this question in quiz.Question is from This Pointer in division Assigning Object, Pointer to Objects, Passing and Returning Object of Object Oriented Programming

Answer»

The CORRECT answer is (c) CONST or volatile

The explanation is: The this pointer can be declared const or volatile. This DEPENDS on NEED of PROGRAM and type of code. This is just an additional feature.



Discussion

No Comment Found

Related InterviewSolutions