logo

Crowdly

Browser

Add to Chrome

#include <stdio.h> struct Chien {   char modele[10];   int  tail...

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

#include <stdio.h>

struct Chien

{

  char modele[10];

  int  tailleTruffe;

};

struct Meute

{

  struct Chien*  grandChef;

  struct Chien*  membres;

  int            nbMembres;

};

int main()

{

  struct Meute laBandeABasile;

  struct Chien toutous[5] = {{"Simba",2},

                            {"Alberto",4},

                            {"Spip",2},

                            {"Bill",5},

                            {"Milou",1}};

  laBandeABasile.grandChef = toutous;

  laBandeABasile.membres = &toutous[1];

  laBandeABasile.nbMembres = 4;

  printf("Chien : %s - %d\n",

          /* A COMPLETER */);

  return 0;

}

Compléter le 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