标签:info 图片 sig code short png 16px image you
一、进程

二、基本数据类型
| 数据类型 | 字节 |
| char | 1 |
| short | 2 |
| int | 4 |
| long int | 4 |
| long long | 8 |
| float | 4 |
| double | 4 |
| long double | 8 |
| bool | 8 |
1存储单元 = 1字节 = 8 bit
三、类型运算
1> 当char , short , int , long int 进行运算时,统一为int型。
2> 当char , short , int , long int 与unsigend int 进行运算时,均提升为unsigend int(无符号整型)。
3> unsigend char + int ; => int;
4> int , char , short , int long 与 float 或 dounle 进行运算时,全提升为double型。
See you~
标签:info 图片 sig code short png 16px image you
原文地址:https://www.cnblogs.com/zqlyf/p/11825741.html