Chapter 1

1: What does portability mean in the context of programming?
A1: 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: Explain the difference between source code file, object code file, and executable file.
A2: 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: What are the seven major steps in programming?
A3:
  1. Defining program objectives.

  2. Designing the program.

  3. Coding the program.

  4. Compiling ...

Get C Primer Plus, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.