scanf 的问题
新手 问下#include <stdio.h>
main()
{
int a,b,c;
scanf("%d %d",&a,&b);
c=a+b;
printf("c is %d\n",c);
}
然后运行 我在键盘上打 1 1的时候怎么不显示c is 2阿
退出运行在运行的时候c is 2才出来 这个要怎么搞成 我在运行的时候打1 1 c is 2 直接在下一行
我是新手才学一天 各位大神帮忙解释一下吧


2012-04-27 23:13
2012-04-27 23:17
2012-04-27 23:20

2012-04-27 23:27
2012-04-28 01:27
2012-04-28 12:52
2012-04-28 19:25
2012-04-28 19:34
2012-04-28 19:44
2012-04-28 20:23