If I have:
int[] d = {1,2,3};
which is the exact allocated space in memory of the array object referenced by d
?
Is it only 3 * 4 = 12
byte or there are other bytes like in Java (i.e. object header, padding, and so on)?
P.S.
I noticed that I can't use sizeof
operator...