What do we need to do to pointer for overloading the subscript operator?
What do we need to do to pointer for overloading the subscript operator? Correct Answer dereference pointer
If you have a pointer to an object of some class type that overloads the subscript operator, you have to dereference that pointer in order to free the memory.