Sunday, July 20, 2014

If the class name is X, what is the type of its “this” pointer (in a nonstatic, non-const member function)?

a. const X* const
b. X* const
c. X*
d. X&

Ans:  b

No comments: