CS61C-1 basic_C
btye and bit
4 Bits 比特 = 1 hex digit = 16 things
8 Bits 比特 = 1 Byte 字节 = 2 hex didgit = 256 things
C basic types
- int/unsigned int 16 bits or larger
- float
- double
- char : 8 bit = 1 字节
- long : 32bit = 4 字节
- longlong : 64bit = 8 字节
4 Bits 比特 = 1 hex digit = 16 things
8 Bits 比特 = 1 Byte 字节 = 2 hex didgit = 256 things