logo

Crowdly

Browser

Add to Chrome

#include <stdio.h> void f(char *s) {   s[0]=s[1];   s[1]='O'; ...

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

#include <stdio.h>

void f(char *s)

{

  s[0]=s[1];

  s[1]='O';

}

int main()

{

  char chaine1[3];

  chaine1[0]='O'; chaine1[1]='K';

  chaine1[2]='\0';

  printf("%s -- ",chaine1);

  f(chaine1);

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

  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