Hey guys
-----------------
Truck t;
Car c;
Vehicle *broom = &c;
broom->drive();
broom = &t;
broom->drive();
-----------------
by saying Vehicle *broom = &c; what do you actually do ? what it means?
*broom is a pointer located on c's adress in memory ? Is that right?
thanks