I know Class *cls is a pointer, and Class &cls takes the address, but what is
void fucction1( Class *&cls)
If I have Class c
Class c
For a type T, T* is a pointer to an object of type T, so Class* is a pointer to a Class object.
T
T*
Class*
Class
For a type T, T& is a reference to an object of type T, so putting them together, Class*& is a reference to a pointer to a Class object.
T&
Class*&