1. See the FAQ for why feof() is wrong to control a loop.

2. Read the manual page for strcmp() to find out what it returns when strings are equal.

3. Having established equality, this is...