~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; }