C++学习笔记(1)——数据类型占空间大小

boolean bool 1 byte  
character char 1 byte May be signed or unsigned
  wchar_t 1 byte  
  char16_t 2 bytes C++11 type
  char32_t 4 bytes C++11 type
integer short 2 bytes  
  int 2 bytes  
  long 4 bytes  
  long long 8 bytes C99/C++11 type
floating point float 4 bytes  
  double 8 bytes  
  long double 8 bytes
上一篇:【mybatis】使用mybatis框架中踩过的坑


下一篇:codeforces703B