No older revisions available
No older revisions available
윤성준 ¶
~cpp #include <iostream> using namespace std; void main() { char a[6] = "abced"; char b[6]; int n; cout << a << endl; b[5] = a[5]; for (n = 0 ; n < 5; n++) { b[4 - n] = a[n]; } cout << b << endl; }