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

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

Ans:  b

0 comments:

Post a Comment

Blogger news