int **p; p = malloc (x * sizeof *p);
sizeof *p - (i am not quite sure, and i was thinking) does it calculate the size of *p as size of double pointer, size of pointer or as size of variable pointed by pointer
another exmaple with same
p[n] = malloc (y * sizeof *p[n]);
*p[n] - size of pointer or size of variable pointed by pointer
i think i asked this before somewhere, or wanted to...but didnt want to bother the person who gave me all answers on all other questions, and thread was marked as solved also...