hi every one
is this even correct ? (would there be any memory problem ?)
if this is correct then how will I find the length of the "se" in future ?Code:void **se;
se = (void **) malloc(sizeof(*se) * 2);
thanks in advance
Printable View
hi every one
is this even correct ? (would there be any memory problem ?)
if this is correct then how will I find the length of the "se" in future ?Code:void **se;
se = (void **) malloc(sizeof(*se) * 2);
thanks in advance
I think all you're after is..
What length exactly are you after? The length of **se? Or the length of *se?Code:void **se;
se = (void **)malloc(sizeof(void **));
chem
I wanna find the length of **se
and also the code will let the array only have 1 item not 2. I want the **se to have 2 *se.
thanks