I need a function declaration for a 2-dimensional version of strlen. That is, this function must receive an array of pointers to char and an array of size_t integers, and an int that specifies the number of elements in each array.
This is what I can think of based on wording of the question:
void strlen_2D(char *ar[][size_t], int n) // n is number of elements
Does this make any sense?