Open minseo-jung opened 5 years ago
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> void p12_1_1() { int a = 10; int b = 20; int c = 0; int *p1 = &a; int *p2 =&b; *p1 = *p1 - 1; *p2 = *p2 - 1; c = *p1; *p1 = *p2; *p2 = c; printf("%d %d", *p1, *p2); return; }