& and * operators in c and cpp code example Example: c++ .* operator The .* operator is used to dereference pointers to class members.