Wednesday, 8 August 2012

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

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

Ans:  b

No comments: