I ran this program in VS2022 and when s1's default constructor was called.Its _vfptr was set to 0x0000...
I thought that s1 must call virtual function eat() via its _vfptr and I set its value as 0.But it could still call eat() correctly.I don't know why this happens.Could someone tell me the reason please? Thank you very much!