Pergunta de entrevista da empresa Microsoft

Implement the Unix "word count" utility in C, without using any library functions. Seems simple at first, but there are multiple edge cases to consider.