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