if i have a function which passes an array as a argument. Is there any way to calculate the array size in called function, if size is also not passed as an argument . here is snippet:
void array_size(int array[])
{
//How i can calculate the array size here
}
int main()
{
int a[]={1,2,3};
array_size(a);
}