美国纽约入境最严格:程序运行不出结果来

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/08 23:51:47
#include<stdio.h>
void main()
{
unsigned int a=65535;b=-2;
printf("a=%d,%o,%x,%u\n",a,a,a,a):
printf("a=%d,%o,%x,%u\n",a,a,a,a):
}
该程序没有错误,可以运行。
但按Alt+F5没有结果

你在最后添加一句:getchar();
不行就加两个getchar();