== 윤성준 == {{{~cpp #include using namespace std; void swap(int *n, int *i); void main() { int a, b; a = 1, b = 18; cout << a << " " << b << endl; swap(a, b); cout << a << " " << b << endl; } void swap(int *n, int *i) { int m; m = *n; *i = *n; *n = m; } }}} ---- [데블스캠프2006/화요일/pointer]