Bloomberg LP Interview Question
Financial Software DevelopersWhen a class object is created, vptr is set to point to the virtual table for that class...so VPTR shld be stored in object memory...
size of vptr depends of machine......for 32 bit machine it is 32 bit(4 byte ) and for 64 bit machine it is 64 bit ( 8 byte )
Starting 2 bytes of the object.
- Rohan October 13, 2009