很可惜....没错
void forward_for_backwards(char line_of_char[],int index){
if(line_of_char[index]){
printf("%c",line_of_char[index]);
forward_for_backwards(line_of_char,index+1);
printf("%c",line_of_char[index]);
}
}
int main(void){
char *string="China";
forward_for_backwards(string,0);
getch();
return 0;
}
黑魔法