#include <stdio.h>
void swap(int *a,int *b) {
int k = *a;
*a = *b;
*b = k;
}
int main() {
int aK = 2;
int ek = 3;
swap(&aK,&ek);
printf("%d %d!\n",aK,ek);
swap(&aK,&ek);
printf("%d %d!\n",aK,ek);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: