this pointer in c ++

  • Cursor this in C ++

    Cursor this in C ++

    each object in c ++ has access to its own location through an important pointer called this pointer. the pointer this in c ++ is a hidden parameter to all member functions. so inside a member function, this pointer can refer to the calling object.