✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
#include <stdlib.h>
int main()
{
char chaine1[2];
char *chaine2;
chaine2=malloc (sizeof(char)*3);
chaine2=chaine1;
chaine2[0]='O';
chaine2[1]='K';
chaine2[2]='\0';
printf("%s -- %s\n",chaine1,chaine2);
return (0);
}
Que va afficher ou faire ce programme ?