// Online C compiler to run C program online #include <stdio.h> void Swap(int *x, int *y){ int temp = *x; *x = *y; *y = temp; printf("%d %d", *x, *y); } int main() { int a = 10; int b = 7; Swap(&a, &b); return 0; }
// Online C compiler to run C program online #include <stdio.h> void Swap(int *x, int *y){ int temp = *x; *x = *y; *y = temp; printf("%d %d", *x, *y); } int main() { int a = 10; int b = 7; Swap(&a, &b); return 0; }