If I have a function that is called A LOT of times, and that function needs an array of 16 pointers that will be updated with new pointers every time it's called, is this the right way to declare this array?
char** readUserInput() {
static char* cmds[16];
...
}
Will this array be initialized once?