So int size does not actually give me the size of what I pass in, in the main function. How do I get the exact number of elements in the array that I pass in.
void myFunc(int *array)
{ int size = (sizeof(&array)/sizeof(int));}
int main()
{
int array[]={1,2,3,4,5,6,7,8,9,10,11,12,13};
myfunc(&array);
return 0;
}