#include <stdio.h>
void test(void) {
int x;
x = 10000;
printf("test()内: x = %d\n", x
); }
int main(void) {
int x;
x = 1;
test();
printf("main()内: x = %d\n", x
); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CnZvaWQgdGVzdCh2b2lkKSB7CmludCB4Owp4ID0gMTAwMDA7CnByaW50ZigidGVzdCgp5YaFOiB4ID0gJWRcbiIsIHgpOwp9CmludCBtYWluKHZvaWQpIHsKaW50IHg7CnggPSAxOwp0ZXN0KCk7CnByaW50ZigibWFpbigp5YaFOiB4ID0gJWRcbiIsIHgpOwoJcmV0dXJuIDA7Cn0K