When I try to debug my program, I have error message like "Segmentation fault".
typedef struct
{
int a;
char *** tab;
}Operateur;
int main()
{
char * chaine = "test";
Operateur * emptyStruct = (struct Operateur *) malloc(sizeof(Operateur));
emptyStruct->tab[0][0] = * chaine;
return 0;
}
I would like to put the content of chaine in the first place of my array(tab).
Thanks.