Shailendra B. answered 03/15/19
Tutor
4.9
(105)
Software technical lead with 28 years experience in Embedded/Linux/C
The size of an object is more than likely computed at compile time. Its not computed dynamically at run time. That would explain the fact that value of the object does not get altered after doing the "sizeof" operator on the object.