I have the following function:
void InverterString(char *str1){
char aux[strlen(str1)];
for (int c=0; c<5; c++) aux[c] = str1[4 - c];
printf("A string1 invertida fica: %s", aux);
}
However, it prints the phrase that is in...
asked by
24.08.2018 / 20:50