SHARE
TWEET

Inversion de chaîne

a guest Jan 14th, 2020 61 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top