i have initialized an array using calloc.
i can only pass the pointer to a function.
in the function i need to find the length of the array. how do i do it??

wen i use the sizeof() operator it always gives me the value 4 ?? i dont understnd.

#include <stdio.h>
#include <stdlib.h>

int main() {
double *array;

array = (double *)malloc(10*sizeof(double));
printf("size = %d",sizeof(array));
return 0;
}