No older revisions available
No older revisions available
데블스캠프2006/화요일/pointer/문제2/이송희 ¶
~cpp #include <iostream> using namespace std; void main() { char a[6] = "abcde"; char b[6]; int i; for(i=4; i>=0; i--) { b[4-i] = a[i]; } b[5]=a[5]; cout << b << endl; }