I'm trying to create an array of words. What's the difference between creating array like this:
char* myWords[10];
and
char* myWords = malloc(10*sizeof(char *))
I'm assuming that since the first one happens automatically, that the memory is reaped at the end of the function execution. Is that correct?