#include #include int main(void) { char str1[256]="salut"; char str2[256]; strcpy(str2,str1); /* str2=str1 INTERDIT */ str1[0]='S'; printf("str1=%s\n",str1); /* str1=Salut */ printf("str2=%s\n",str2); /* str2=salut */ if (strcmp(str1,str2)==0) /* if (str1==str2) ... INTERDIT */ { printf("str1 et str2 identiques\n"); } else { printf("str1 et str2 differentes\n"); } return 0; }