help with string arrays

how to write this program ?

Input a line of text using a C-String Line of size 200. Input a simple C-String (no spaces)
Word of size 10. Find out the count of all the occurrences of Word in Line.

Last edited on
Do you really want to index word with i on line 24?
Topic archived. No new replies allowed.