How to find the sizeof an array, by a function which receives only a pointer to the array?
int find(int *p)
{
// I want to find the sizeof
// the array in this function
return 1;
}
int main()
{
int a[]={12,2,9,6,5,11,15};
find(a);
return 0;
}