There are several ways to loop through an array in C, and the choice often depends on the specific requirements of your program.
It's impossible to use strings without using pointers in C, often recommended to provide clear docs to communicate whether the caller is responsible for freeing the memory.