Elementary Programming Concepts

In this chapter, we will explain the following:

  • How a computer solves a problem
  • The various stages in the development of a computer program: from problem definition to finished program
  • How a computer executes a program
  • What is a “data type” and its fundamental role in writing a program
  • The role of characters—the basic building blocks of all programs
  • The concepts of constants and variables
  • The distinction between syntax and logic errors
  • How to produce basic output in C using the printf statement
  • What is an escape sequence
  • How descriptive or explanatory comments can be included in your program
  • What is ...

Get Learn to Program with C now with O’Reilly online learning.
