hi,
i would like to know how to calculate the size of a dynamic array
created using a dereference declaration like int *numbers and
allocating via malloc or calloc: numbers=(int
*)malloc(sizeof (int)*10);
using sizeof(numbers) will return the pointers size...
is there a possibility?
D@nny
--
life already is expensive, so why waste money on expensive
software.
i would like to know how to calculate the size of a dynamic array
created using a dereference declaration like int *numbers and
allocating via malloc or calloc: numbers=(int
*)malloc(sizeof (int)*10);
using sizeof(numbers) will return the pointers size...
is there a possibility?
D@nny
--
life already is expensive, so why waste money on expensive
software.
Comment