We have a mammal class, and a dog class which inherits mammal.
Class dog has wagTail() func
Since we can do...
mammal *ptr = new dog;
... how can one access wagTail() using *ptr?
The book I have mentions a way of explicitly calling it with the pointer but I can't find it. Any help would be appriciated.