#include <stdio.h>
void plus1(int x,int y){
x +=1;
y +=1;
}
void plus2(int *x,int *y){
*x +=2;
*y +=2;
}
int main(void) {
int x=3;
int y=5;
for(int i=0;i<5;i++){
if(i%3){
plus1(x,y);
}else{
plus2(&x,&y);
}
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIHBsdXMxKGludCB4LGludCB5KXsKCXggKz0xOwoJeSArPTE7Cn0Kdm9pZCBwbHVzMihpbnQgKngsaW50ICp5KXsKCSp4ICs9MjsKCSp5ICs9MjsKfQoKaW50IG1haW4odm9pZCkgewoJaW50IHg9MzsKCWludCB5PTU7CgkKCWZvcihpbnQgaT0wO2k8NTtpKyspewoJCWlmKGklMyl7CgkJCXBsdXMxKHgseSk7CgkJfWVsc2V7CgkJCXBsdXMyKCZ4LCZ5KTsKCQl9Cgl9CglwcmludGYoIng9JWRcbnk9JWRcbiIseCx5KTsKCXJldHVybiAwOwp9Cg==