我明白b
会得到一个垃圾值,但它应该在int的范围内。我错了吗?为什么int在这里给出8位数的垃圾值?
#include<stdio.h>
#include<conio.h>
void main()
{
int a = 300, b, c;
if (a >= 400)
b = 300;
c = 200;
printf("\n%d%d", b, c);
getch();
}
输出中的Borland C++编译器:
23603264200
你是测试如果人们可以计算出难题? – balki