logo

Crowdly

Browser

Add to Chrome

#include <stdio.h> int main() {   struct S {     int a;   ...

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

#include <stdio.h>

int main() {

  struct S {

    int a;

    int b;

    char c[20];

  } *Y;

  struct S Z [2] =

  {

    {2,0,"MdC"},

    {3,7,"CdR"}

  };

  Y = &Z[0];

  *Y = {3, 1, "DdR"};

  Z[0].a += Z[1].b;

  Z[0].b += Z[1].a;

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

              Z[0].a, Z[0].b, Z[0].c, Z[1].a,Z[1].b, Z[1].c);

  return 0;

}

Que donne l'exécution de ce programme ?

0%
0%
0%
0%
0%
0%
0%
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