I have a 2d array as so:
and a pointerPHP Code:
char array[num_of_files][100];
which points to the array as soPHP Code:
char* p;
I want to pass this pointer to another function, and access the array from that function.PHP Code:
p = array;
New function is declared like soPHP Code:
new_func(p);
In the new function, i cant cant seem to move along the 2d array.PHP Code:
int new_func(char* p);
What am i doing wrong??
Thanks