#include #include using namespace std; void catCHuoi(char *ten){ int i=0; for (int i = 0; i < strlen(ten); i++) { if(ten[i]!=NULL && ten[i]!=32){ cout<= end) return; char temp; temp = *(ten+start); *(ten+start) = *(ten+end); *(ten+end) = temp; dequi(ten,++start,--end); } int main() { char *ten = new char[255]; cout<<"Nhap ten: ";gets(ten); int n = strlen(ten)-1; catCHuoi(ten); dequi(ten,0,strlen(ten)-1); cout<