A. Answers to the Review Questions

Answers to Review Questions for Chapter 1

1. A perfectly portable program is one whose source code can, without modification, be compiled to a successful program on a variety of different computer systems.

2. A source code file contains code as written in whatever language the programmer is using. An object code file contains machine language code; it need not be the code for a complete program. An executable file contains the complete code, in machine language, constituting an executable program.

3.   a. Defining program objectives.

b. Designing the program.

c. Coding the program.

d. Compiling the program.

e. Running the program.

f. Testing and debugging the program.

g. Maintaining and modifying the program. ...

Get C Primer Plus, Sixth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.