作者:马 岩Furzoom) (http://www.cnblogs.com/furzoom/
版权声明:本文的版权归作者与博客园共同所有。转载时请在明显地方注明本文的详细链接,未经作者同意请不要删除此段声明,感谢您为保护知识产权做出的贡献。

Type Implication Minimum  storage space
bool boolean NA
char character 8 bits
wchar_t wide character 16 bits
short short integer 16 bits
int integer 16 bits
long long integer 32 bits
float single-precision floating-point 6 significant digits
double double-precision floating-point 10 significant digits
long double extended-precision floating-point 10 significant digits

 

 

 

 

 

 

 

 

 

Integral types (except the boolean type) may be either signed or unsigned

Unlike other integral types, there are three distict types for char:

plain char equals to char

signed char

unsigned char

 

相关文章:

  • 2021-12-09
  • 2021-07-07
  • 2021-07-25
  • 2022-01-05
  • 2021-12-16
  • 2022-02-17
  • 2021-09-12
  • 2022-02-23
猜你喜欢
  • 2022-12-23
  • 2021-08-22
  • 2021-12-02
  • 2021-08-25
  • 2022-12-23
  • 2021-08-23
  • 2021-12-13
相关资源
相似解决方案