在下面的代码中,变量被多次初始化。
为什么此代码不引发错误?
int main() { int x; x=5; x=10; printf("\nx=%d",x) ; }
节目输出
x = 10
c initialization
c ×1
initialization ×1