format the numbers

This commit is contained in:
Jidong Xiao
2025-04-15 08:15:44 -04:00
committed by JamesFlare1212
parent 8102db4dac
commit f858d57e31

View File

@@ -360,4 +360,4 @@ public:
};
```
The comment /* 0 8 */ means that the virtual table pointer starts at offset 0 of the class, and it has 8 bytes; the comment /* 8 4 */ means the variable age starts at offset 8 and it has 4 bytes.
The numbers "0 8" mean that the virtual table pointer starts at offset 0 of the class, and it has 8 bytes; the numbers "8 4" means that the variable *age* starts at offset 8 and it has 4 bytes.