#include<iostream>
using namespace std;
void fun3(int *&p, int a){
p = &a;
}
int main(){
int *p ;
int y=10, x=5;
p=&x;
fun3(p,y);
cout<<x<<" "<<y<<" "<<*p;
return 0;
}
I2luY2x1ZGU8aW9zdHJlYW0+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7Cgp2b2lkIGZ1bjMoaW50IComcCwgaW50IGEpewoJcCA9ICZhOwp9CgppbnQgbWFpbigpewoKCWludCAqcCA7CglpbnQgeT0xMCwgeD01OwoKCXA9Jng7CgoJZnVuMyhwLHkpOwoKCWNvdXQ8PHg8PCIgIjw8eTw8IiAiPDwqcDsKCglyZXR1cm4gMDsKfQ==