

MCQOPTIONS
Saved Bookmarks
1. |
Which of the following ways are legal to access a class data member using this pointer? |
A. | <i class="cpp-code">this->x</i> |
B. | <i class="cpp-code">this.x</i> |
C. | <i class="cpp-code">*this.x</i> |
D. | <i class="cpp-code">*this-x</i> |
Answer» B. <i class="cpp-code">this.x</i> | |