当前位置:网站首页 > 技术博客 > 正文

c语言中的数据类型主要有哪几类



字符型 char 1 signed char -128 ~ 127 无符号字符型 unsigned char 1 none 0 ~ 255 整型 int 4 signed int -2,147,483,648 ~ 2,147,483,647 无符号整型 unsigned int 4 unsigned 0 ~ 4,294,967,295 短整型 short 2 short int -32,768 ~ 32,767 无符号短整型 unsigned short 2 unsigned short int 0 ~ 65,535 长整型 long 4 long int -2,147,483,648 ~ 2,147,483,647 无符号长整型 unsigned long 4 unsigned long 0 ~ 4,294,967,295 单精度浮点数 float 4 none 3.4E +/- 38 (7 digits) 双精度浮点数 double 8 none 1.7E +/- 308 (15 digits) 长双精度浮点数 long double 10 none 1.2E +/- 4932 (19 digits) 长整型 long long 8 __int64 -~

  • 上一篇: 2021免费dns
  • 下一篇: oppo站点警告安全提示
  • 版权声明


    相关文章:

  • 2021免费dns2025-06-26 12:29:59
  • ssh工具有哪些2025-06-26 12:29:59
  • 电脑阅读软件多种格式哪个好用2025-06-26 12:29:59
  • uint16范围2025-06-26 12:29:59
  • 运算符重载怎么写2025-06-26 12:29:59
  • oppo站点警告安全提示2025-06-26 12:29:59
  • java orm框架性能比较2025-06-26 12:29:59
  • 安装程序错误代码25022025-06-26 12:29:59
  • 批处理运行cmd命令2025-06-26 12:29:59
  • jwt依赖包2025-06-26 12:29:59