✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
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 ?