#include <stdion.h>
int main(){
int a = 20; int score = a + 100; printf("%d\n", score);
{ int score = 50; { score = 10; printf("%d\n", score); } a = 10; }
{ score = a + 250; int score = 30; printf("%d\n", score); }
printf("%d\n", score);
return 0; }
输出结果: 120 10 30
260
请问为什么最后一个printf()输出是260?而不是120呢?
|