c:warning:unsigned int format,different type arg (arg 2)# include int main (){\x05unsigned short int x;\x05c:scanf ("%u",&x);\x05printf ("%u\n",x);\x05goto c;\x05return 0;}

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/12 08:30:07
c:warning:unsigned int format,different type arg (arg 2)# include int main (){\x05unsigned short int x;\x05c:scanf (

c:warning:unsigned int format,different type arg (arg 2)# include int main (){\x05unsigned short int x;\x05c:scanf ("%u",&x);\x05printf ("%u\n",x);\x05goto c;\x05return 0;}
c:warning:unsigned int format,different type arg (arg 2)
# include
int main ()
{
\x05unsigned short int x;
\x05c:scanf ("%u",&x);
\x05printf ("%u\n",x);
\x05goto c;
\x05return 0;
}

c:warning:unsigned int format,different type arg (arg 2)# include int main (){\x05unsigned short int x;\x05c:scanf ("%u",&x);\x05printf ("%u\n",x);\x05goto c;\x05return 0;}
unsigned short int x;
输入输出用格式符号%hu