Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <string.h>
- void main(void)
- {
- char* chaine;
- printf("Votre nom ? ");
- scanf("%s", chaine);
- printf("votre nom à l'envers : ");
- int i = strlen(chaine);
- for (i; i >= 0; i--)
- printf("%c",chaine[i]);
- }
Add Comment
Please, Sign In to add comment