Learn to use strtok:

Ask the user for a string of alphanumeric text (words are separated by spaces) print each "token" on a separate line along with the "type" of the token: WORDS, NUMBERS, PUNCTUATION.

You will never use "array notation" in projects in this class. Use only pointer notation.

Avoid *(p+2) type expressions. This is just a poor translation of p[2]