hello I am trying to pass an initial element of an array of pointers to a function, and that array of pointers points to arrays.
say i have an array
char foo[3];
and i store it in an array of pointers
char* bar[3];
bar[0] = &foo;
can i access the element of foo via bar like a 2D array?
example:
*bar[0][1];
or do i have to *bar[0]+1;?
or am i crazy?
thnx for any help and sorry if this is a repeat question.