STC51单片机用printf()函数输出数字到串口,
unsignedcharnum=1;printf("num=%d",num);结果为num=259unsignedintnum=1;printf("num=%d",num...
unsigned char num = 1;
printf("num = %d",num);
结果为 num = 259
unsigned int num = 1;
printf("num = %d",num);
结果为 num = 1
为什么会这样 展开
printf("num = %d",num);
结果为 num = 259
unsigned int num = 1;
printf("num = %d",num);
结果为 num = 1
为什么会这样 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询