#include <stdio.h>
void fun(int *ptr) {
*ptr = 2;
}
int main() {
int a = 0;
fun(&a);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIGZ1bihpbnQgKnB0cikgewogICpwdHIgPSAyOwp9CgppbnQgbWFpbigpIHsKICBpbnQgYSA9IDA7CiAgcHJpbnRmKCIlZFxuIiwgYSk7CgogIGZ1bigmYSk7CgogIHByaW50ZigiJWRcbiIsIGEpOwogIHJldHVybiAwOwp9