#include<stdio.h>
int main(void)
{ int x=123;
int y=456;
int sw;
printf("変更するのは?[0...x/1...y]=");
int *p;
if(sw==0) p=&x;
else p=&y;
*p=999;
return 0;
}
I2luY2x1ZGU8c3RkaW8uaD4KCmludCBtYWluKHZvaWQpCnsgaW50IHg9MTIzOwogIGludCB5PTQ1NjsKICBpbnQgc3c7CiAgCiAgcHJpbnRmKCJ4PSVkXG4iLHgpOwogIHByaW50ZigieT0lZFxuIix5KTsKICAKICBwcmludGYoIuWkieabtOOBmeOCi+OBruOBr++8n1swLi4ueC8xLi4ueV09Iik7CiAgc2NhbmYoIiVkIiwmc3cpOwogIHByaW50ZigiJWRcbiIsc3cpOwogIAogIGludCAqcDsKICBpZihzdz09MCkgcD0meDsKICBlbHNlIHA9Jnk7CiAgCiAgKnA9OTk5OwogIAogIHByaW50ZigieD0lZFxuIix4KTsKICBwcmludGYoInk9JWRcbiIseSk7CiAgcmV0dXJuIDA7Cn0=