logo

Crowdly

Browser

Add to Chrome

#include <stdio.h> #include <stdlib.h> int main() {   char *chai...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

#include <stdio.h>

#include <stdlib.h>

int main()

{

  char *chaine1;

  char *chaine2;

 

  chaine1=malloc (sizeof(char)*3);

  chaine2=chaine1;

  chaine1[0]='O';

  chaine1[1]='\0';

  chaine2[1]='K';

  chaine2[2]='\0';

  printf("%s -- %s\n",chaine1, chaine2);

  return (0);

}

Que va afficher ou faire ce programme ?

More questions like this

Want instant access to all verified answers on moodle.insa-toulouse.fr?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome