Guest User

Untitled

a guest
May 26th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.27 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <string.h>
  3.  
  4. void main(void)
  5. {
  6.     char* chaine;
  7.    
  8.     printf("Votre nom ? ");
  9.     scanf("%s", chaine);
  10.    
  11.     printf("votre nom à l'envers : ");
  12.     int i = strlen(chaine);
  13.     for (i; i >= 0; i--)
  14.         printf("%c",chaine[i]);
  15. }
Add Comment
Please, Sign In to add comment