Type  Bytes  Bits                Range
            short int    2      16          -32,768 -> +32,767          (16kb)
unsigned short int 2 16 0 -> +65,535 (32Kb)
unsigned int 4 16 0 -> +4,294,967,295 ( 4Gb)
int 4 32 -2,147,483,648 -> +2,147,483,647 ( 2Gb)
long int 4 32 -2,147,483,648 -> +2,147,483,647 ( 2Gb)
signed char 1 8 -128 -> +127
unsigned char 1 8 0 -> +255
float 4 32
double 8 64
long double 12 96



from:
http://www.lix.polytechnique.fr/~liberti/public/computing/prog/c/C/CONCEPT/data_types.html

相关文章:

  • 2022-02-23
  • 2022-12-23
  • 2021-10-03
  • 2022-03-07
  • 2022-01-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-17
  • 2021-06-14
  • 2022-12-23
  • 2022-12-23
  • 2021-07-28
  • 2021-06-22
  • 2021-06-03
相关资源
相似解决方案