My answers to the exercises in “The C Programming Language” (2nd edition, 1989) by Kernighan and Ritchie.
Sunday, August 7, 2011
Chapter 1, question 7
7. Is FILENAME.TXT a valid name for a C source file?
Yes.
However, C source files typically end in .c. Also, lowercase is typically preferred. And the name "filename" is not very descriptive. So it's not a good name.
No comments:
Post a Comment