I defined an 2d array in my code same:
double DownSide[][3]={
{0,10,10},
{0,10,10},
{0,10,10},
{0,10,10}
};
and send this array in a function:
ProcessImage(DownSide);
and in that function i give parameter same:
void ProcessImage(double DownSide[][3])
In this function, i want to calculate number row of this array. when i use this code:
sizeof(DownSide)/sizeof(DownSide[0])
the result show 0. but when i use this in main function, when i define array, i see correct number 4. Why when i use this code in function see 0? How can i find number rows of input array in function?