✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
#include <string.h>
#include <stdlib.h>
int main(void) {
struct MonStruct {
int n;
char * ch;
};
struct MonStruct * a;
char * chaine = "abcabc";
a = malloc(sizeof(struct MonStruct));
a->n = 30;
strcpy(a->ch, chaine);
printf("%d ", a->n);
printf("%s \n", a->ch);
return (0);
}
Qu'affiche le programme ?