I want to implement the following function to print the contents of several char strings which are referenced through a pointer array. How can I determine how
There is no built-in way to do this as C does not track the number of elements in an array for you like this.
You have a couple of options: