Guest User

Inversion de chaîne

a guest
Jan 14th, 2020
77
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. #include <string.h>
  3.  
  4. int main(void)
  5. {
  6.     char word[] = "bonjour";
  7.  
  8.     printf("CHAINE DE BASE : %s\n", word);
  9.     printf("CHAINE INVERSEE : %s\n", strrev(word));
  10.  
  11.     return 0;
  12. }
RAW Paste Data