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