25. 값 전달과 주소 전달 교환 함수
다음 C 프로그램의 실행 결과를 쓰시오.
1#include <stdio.h>23void swapValue(int x, int y) {4int t = x;5x = y;6y = t;7}89void swapAddr(int *x, int *y) {10int t = *x;11*x = *y;12*y = t;13}1415int main() {16int a = 4;17int b = 9;18swapValue(a, b);19printf("%d %d\n", a, b);20swapAddr(&a, &b);21printf("%d %d\n", a, b);22int *p = &b;23*p += a;24printf("%d %d\n", a, b);25return 0;26}