Loading

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 字节
posted @ 2024-05-17 19:36  big_shark  阅读(22)  评论(0)    收藏  举报