Escolar Documentos
Profissional Documentos
Cultura Documentos
h>
return -1;
}
int i;
char temp;
for (i = 0; i < comp/2; i++) {
temp = frase[i];
frase[i] = frase[comp - i - 1];
frase[comp - i - 1] = temp;
}
int main() {
int n = 100;
char frase[n];
scanf("%s", frase);
inverter(frase, n);
puts(frase);
return 0;
}