[Solved] if vptr is created when object is created then why the size of class having virtual function comes as 4 on 32 bit sys and 8 on 64 bit machine



if vptr is created when object is created then why the size of class having virtual function comes as 4 on 32 bit sys and 8 on 64 bit machine

solved if vptr is created when object is created then why the size of class having virtual function comes as 4 on 32 bit sys and 8 on 64 bit machine