Answers to self-assessment questions

Chapter 1

1. True

2. False

3. True

4. b.

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

6. The answer to this question depends on the compiler. Consult the compiler's manuals.

 

Chapter 2

1. True

2. True

3. c. printf()

4.b. main()

5.b. /* */

6. d. printf("Hello World");

7. include

8. comment(s)

9. ; semi-colon