Have you ever wondered how to store a bunch of names in an array? You’d need an array of strings. But each string on its own is already an array of characters. Yikes! You’d therefore need an array of arrays! This sounds rather complicated but now we actually have all of the tools needed to do so. Before embarking on the array of strings challenge, let’s quickly review strings on their own. Please pick and solve at least one of the following problems:
Write a C program with a function printString() that takes a string (i.e. a char *) as an argument and prints the string, with individual characters separated by spaces. Here is an example: