How to split or tokenize an array of strings by a space " " delimiter to find the second word in each string in C : I have an array that holds a bunch of strings. I want to find the second word in each of the strings that are contained in this array so I can sort the sentences alphabetically by the second word in the sentence. I tried using strtok but it doesn't work for tokenizing an array of strings. The delimiter is just the space between each word. I have to do this in c

 