解题思路:
(1)注意空格是不被考虑的
#include <ctype.h>
void wave(const char *y, char **target) {
int count=0,counts=0;
const char *p = y;
while(*y!='\0') {
if(!isspace(*y)) {
strcpy(target[count],p);
target[count][counts]=toupper(*y);
count++;
}
counts++,y++;
}
}