#include <stdio.h>

void echange(int* a,int* b) {
    int temp=*a;
    *a=*b;*b=temp;
    printf("%d,%d\n",*a,*b);
}

int main() {
    int a,b;
    scanf("%d\n%d",&a,&b);
    echange(&a,&b);
    printf("%d,%d",a,b);
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: