Hi, sorry if this has been asked before I did a search but couldn't find it.
How do I define a pointer to a 2D array? (I am trying to pass it into a function).
Sorry, but [icode]char* ay[/icode] declares 2D array of pointers to char. Probably, coveredinflies wants to pass an array as a function argument so right example is most likely [code=cplusplus] void foo(char ay ); [/code] But it's not the same as [code=cplusplus] void foo(char **ay); [/code] A pointer to an array … Read More