int,char,short,unsigned,long,double,float

来源:百度知道 编辑:UC知道 时间:2024/05/05 23:59:16
都是啥意思啊

int:整型;
char:字符型;
short:短整型;
unsigned:无符号的;
long;长整形;
double:双精度;
float:浮点类型;

你这是C语言的变量类型,int定义整型变量,char字符型,short短整形long长整形等等。。

这都是C语言的变量类型,int定义整型变量,char字符型,short短整形long长整形,double双精度,float浮点型,unsigned指无符号的,它需要和这个变量类型结合起来使用 ,例如unsigned int表示无符号整形的