#include <stdio.h>
void swap(int *a,int *b);
int main(void) {
int a=3,b=5;
swap(&a,&b);
return 0;
}
void swap(int *a,int *b)
{
int w;
w=*a;
*a=*b;
*b=w;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIHN3YXAoaW50ICphLGludCAqYik7CgppbnQgbWFpbih2b2lkKSB7CglpbnQgYT0zLGI9NTsKCQoJc3dhcCgmYSwmYik7CgoJcHJpbnRmKCJhPSVkLGI9JWQgXG4iLGEsYik7CglyZXR1cm4gMDsKfQoKdm9pZCBzd2FwKGludCAqYSxpbnQgKmIpCnsKCWludCB3OwoJCgl3PSphOwoJKmE9KmI7CgkqYj13Owp9