怪异的运行结果
如下程序:#include <stdio.h>
main()
{
printf("hskd");
return 0;
getch();
}
此程序的运行结果是什么?为什么?急……
2006-07-30 21:52
2006-07-30 22:10
2006-07-30 22:58
2006-07-30 23:24

获取显示信息时用getch(),这是一个实用大全的例子,我也运行过了,的确是没有任何显示,可是下面的程序有显示:
#include <stdio.h>
main()
{
printf("hskd");
getch();
}
也就是删掉了:return 0; 这一语句

2006-07-30 23:32
2006-07-30 23:33