I read that the initialisation of the vptr is done by the default constructor automatically . What happens when u provide implementation for the default constructor . Is the initialisation code added automatically ???

> Is the initialisation code added automatically ???
Yes. :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.