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;}

来源:学生作业帮助网 编辑:六六作业网 时间:2025/02/02 00:20:47
c:warning:unsignedintformat,differenttypearg(arg2)#includeintmain(){\x05unsignedshortintx;\x05c:scan

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