Last updated
Was this helpful?
Was this helpful?
sizeof(int) -> 4 byte
sizeof(char) -> 1 byte
sizeof(long) -> 4 byte
sizeof(long long) -> 8 byte
sizeof(float) -> 4 byte
sizeof(double) -> 8 byte
sizeof(long double) -> 12 byte
sizeof(bool) -> 1 byte
(8 bit = 1 byte)