A C program, as in most programming languages, consists of a sequence of small, individual pieces of computational work called statements, which are formed into larger building blocks called functions, which are then compiled into a single program. As we examine these programming elements, we will expand on the main() function, which we encountered in the previous chapter.
The following topics will be covered in this chapter:
- Introducing the building blocks of programs – statements and blocks
- Introducing the various kinds of C statements
- Understanding delimiters
- Using whitespace to make your program easier to read for humans
- Introducing functions and their parts
- Learning how a computer reads a C program as it runs
- Creating various kinds of functions with parameters and return values
- Learning...