O'Reilly logo

C Programming in One Hour a Day, Sams Teach Yourself, Seventh Edition by Dean Miller, Peter Aitken, Bradley L. Jones

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix D. Answers

Answers for Lesson 1

Quiz

1. C is powerful, popular, and portable.

2. The compiler translates C source code into machine-language instructions that your computer can understand.

3. Editing, compiling, linking, and testing.

4. The answer to this question depends on your compiler. Consult your compiler’s manuals.

5. The answer to this question depends on your compiler. Consult your compiler’s manuals.

6. The appropriate extension for C source files is .C (or .c).

Note: C++ uses the extension .CPP. You can write and compile your C programs with a .CPP extension, but it’s more appropriate to use a .C extension.

7. FILENAME.TXT would compile. However, it’s more appropriate to use a .C extension rather than .TXT.

8. You should ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required