单片机C语言中的uint p=0 什么意思?

重点是 p=0 什么意思

单片机C语言中的uint p=0 意思是无符号变量p赋值0.
温馨提示:答案为网友推荐,仅供参考
第1个回答  2017-11-01
其实,这uint 并不是C语言的关键字,而是很多人写程序,为了方便,用
#define uint unsigned int 先进行宏定义,用uint表示unsigned int,
其实是
unsigned int p=0;
这是定义一个无符号整型变量p,并赋初值为0。
第2个回答  2011-06-19
uint=unsigned int 无符号整型 这个肯定是前面宏定义了 #define uint unsigned int
类似的还有 uchar #define unsigned char
unit是unsinged char的宏定义名,整句话是指定义了一个无符号的整型变量,并令其初值为0.本回答被网友采纳
第3个回答  2011-06-14
uint=unsigned int 无符号整型 这个肯定是前面宏定义了 #define uint unsigned int
类似的还有 uchar #define unsigned char
第4个回答  2011-06-14
unit是unsinged char的宏定义名,整句话是指定义了一个无符号的整型变量,并令其初值为0.
相似回答