Bloomberg LP Interview Question
Software Engineer / Developerspure virtual functions are there in the base class to make sure that the child classes override that(it gives a prototype that has to be implemented)...but here the object created is of base class(even though the the pointer is of child class)...which will give you a compile-time error if you call the pure virtual function...
No! you cant do this.
- Anonymous March 17, 2010