/C语言解法/char* reverse_words(char* str, char* prt_str){ int i, len, cnt = 0; char temp; char* head = str; char* dst = prt_str; char* end = str + strlen(str) - 1; len = strlen(str); //printf("stri:%s, len:%d\n", str, len); while (end >= head) { if(' ' == ...