I am trying to type a whole word instead of the first letter. I could do this with a loop, but I thought there was a better way. I searched for the answers and saw the answers that they changed% S to% c, but I am already using% c, since it is an array of characters.
char* words[] = {"my", "word", "list"}; printf("The word: %c",*words[2]); Results: The word: l
source share