[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

[ad_1]

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

[ad_2]

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