/* 2. ´ÙÀ½ ÇÁ·Î±×·¥ÀÇ Ãâ·ÂÀ» ½á¶ó. */ #include void what(int z,int *y,int x) { z = *y; *y = x; x = z; } main() { int x = 10; int y = 20; int z = 30; what(x,&y,z); printf("x = %d\ny = %d\nz = %d\n",x,y,z); }