为什么结果出错?
#include<stdio.h>int main()
{
int a,b,sum;
scanf("%d",&a,&b);
printf("%d\n",sum=a*b);
return 0;
}
10 10
-8
Press any key to continue
2011-08-27 12:02
程序代码:#include<stdio.h>
int main()
{
int a,b,sum;
scanf("%d %d",&a,&b);
printf("%d\n",a*b);
return 0;
}。。。。。。。。。。。。。。。

2011-08-27 12:16
2011-08-27 12:40
2011-08-27 12:45
2011-08-27 13:41
2011-08-27 13:44

2011-08-27 13:52