I am learning in this moment Oop in C++ and I have been encountring this ( B extendes A )
A* b = new B()
I searched a bit and seen that b have the same functions of B class and therefore I do(!!) understand what is the diffrence between this and
A* a = new A()
BUT do not(!!) understand what is the diffrence between this statment to:
B* b = new B()
Ty for any help :)