void main(void)
{
    static char mot1[20]="Hello", mot2[20]="world" ;
    static char phrase[50] = "" ; /* chaîne vide */
    strcpy( phrase, mot1 ); /* copie de la chaîne mot1 dans la chaîne phrase */
    strcat( phrase, mot2 ); /* concaténation = « collage » de 2 chaînes */
    printf( "%s", strcat(phrase, " !") ); /*concaténation avec une chaîne constante et affichage*/
    printf( "\n Cette phrase a %d caractères ", strlen(phrase) ) ;
    if ( strcmp(phrase,"Hello")==NULL ) /* comparaison de 2 chaînes */
        printf("Elle vaut Hello \n");
    if ( strchr(phrase,'a')==NULL ) /* recherche d’un caractère dans une chaîne */
        printf("Elle ne contient pas la lettre 'a'");
}
