unsigned short price=50;printf(“%d %u\n”,price,price)把变量定义为无符号整型数据后,用%u格式输出字符变量用%c格式输出char c=5printf(“%c\n”,c)