#include <stdio.h> void Swap(int *a,int *b) { int op; op=*a; *a=*b; *b=op; } int main() { int a,b; scanf("a=%d,b=%d",&a,&b); Swap(&a,&b); printf("a=%d,b=%d",a,b); return 0; }
#include <stdio.h> void Swap(int *a,int *b) { int op; op=*a; *a=*b; *b=op; } int main() { int a,b; scanf("a=%d,b=%d",&a,&b); Swap(&a,&b); printf("a=%d,b=%d",a,b); return 0; }