#include <stdio.h>
#include <stdlib.h>
#include <string.h>


int main() {
    char phrase[19]="bonjour je suis moi";
    //gets(phrase);
    puts(phrase);
    void inverse() {
    int i,len=strlen(phrase);
    char temp;
    for (i=0;i<(len-1)/2;i++) {
        temp = phrase[i];
        phrase[i] = phrase [len-i-1];
        phrase[len-i-1] = temp;
    }
    }
    inverse();
    printf("%s\n",phrase);
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: