(example only - cannot be marked by ceilidh)
Read data from standard input. The first line is a single word, which is followed by general text on the second line. Read both up to a newline character, and insert a terminating null before processing.
Typical output should be:
The word is "the". The sentence is "the cat sat on the mat". The word occurs 2 times.
(unit6:pointers:wds)