#include<stdio.h> int main() { int i = 0; int j = 0; scanf_s("%d %d", &i, &j); int* a = &i; int* b = &j; int temp = i; *a = j; *b = temp; printf("i=%d j=%d\n", i, j); return 0; }
#include<stdio.h> int main() { int i = 0; int j = 0; scanf_s("%d %d", &i, &j); int* a = &i; int* b = &j; int temp = i; *a = j; *b = temp; printf("i=%d j=%d\n", i, j); return 0; }