sizeof(char)==1 sizeof(short)==2 sizeof(int)==4 sizeof(long)==4 sizeof(long long)==8 sizeof(void *)==4 sizeof(float)==4 sizeof(double)==8 sizeof(long double)==12
|
sizeof(char)==1 sizeof(short)==2 sizeof(int)==4 sizeof(long)==4 sizeof(long long)==8 sizeof(void *)==4 sizeof(float)==4 sizeof(double)==8 sizeof(long double)==8
|
sizeof(char)==1 sizeof(short)==2 sizeof(int)==4 sizeof(long)==8 sizeof(long long)==8 sizeof(void *)==8 sizeof(float)==4 sizeof(double)==8 sizeof(long double)==16
|
sizeof(byte)==1 sizeof(short)==2 sizeof(int)==4 sizeof(long)==8 /* no need for long long */ /* no pointers in Java */ sizeof(float)==4 sizeof(double)==8 /* no long double in Java */ sizeof(Char)==2
|