I think it should be
12
4
because memory is allocated to the pointer and both integer variables in object t, so that's 4+4+4 = 12
And Test* is a pointer, so its size is 4 bytes
@N Thanks, that's right, only one copy of a static variable is created, and it's shared by all the objects of the class, that's why it's 8, not 12