Hello I'm wondering if this pointer is bad. I saw this example in a book.
The structure allocates the memory for the pointer?
Ty
Code:struct KeyWord { char *word; // This is bad???? int counter; } key_words[] = { {"int", 0}, {"break", 0}, {"case", 0}, {"char", 0}, {"const", 0}, {"continue", 0}, {"default", 0}, {"unsigned", 0}, {"void", 0}, {"volatile", 0}, {"while", 0} };