i have the following struct
typedef char * typos_stoixeiou;
typedef int metritis;
typedef struct korifi *kdiktis ;
struct korifi
{
typos_stoixeiou dedomena;
metritis counter;
int kleidi;
int arithmospaidiwn ;
korifi *a[100];
};
if i try this
for(int s=0;s<size;s++)
{
root->a[s] = (kdiktis)malloc(sizeof(struct korifi));
root->a[s] = NULL;
}
and 'size' is bigger than 19 the programm crashes
any idea ?