Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h.>
- #include<stdlib.h>
- #include <conio.h>
- /*Faça um procedimento que receba uma string e a retorne escrita de trás pra frente.*/
- int main(){
- int i;
- char frase[100];
- printf("\n informe sua string:\n\n");
- gets(frase);
- printf("\n\n");
- for(i= strlen(frase); i>=0; i--){
- printf("%c", frase[i]);
- }
- printf("\n\n");
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement