#include
void Swap1(int* a, int* b)
{
int c = *a;
*a = *b;
*b = c;
}
main()
{
int a, b;
scanf("%d,%d", &a, &b);
printf("\na=%d,b=%d", a, b);
Swap1(&a, &b);
printf("\na=%d,b=%d", a, b);
}
#include
main(){ int a, b; scanf("%d,%d", &a, &b); printf("\na=%d,b=%d", a, b); Swap1(&a, &b); printf("\na=%d,b=%d", a, b);}