"Pointers" in topic may be "Pointer's".
There is a two dimensional A array declared and this is wanted from me :
And this is how i defined function and passed array into it :
. Pass the array A and its dimensions (number of rows and
columns) to the FUNCTON1 as arguments.
Number of rows and columns should be passed as POINTER
Program works and everything is ok.
void func1 (int *a1Ptr, int a1row, int a1column) // The function
func1 (*A, 5, 6); // This is how I pass array into it
So my question is, did i do it right as it wanted ? If not, then how to do it like in the question.
Thanks in advance.