Chapter 2. The Foundation of C
Here, we present the lexical syntax of C. An overview of C keywords is given. In this chapter, you shall have a look at the data types available in C. Presenting variables and constants, we delineate naming conventions for variables and modes of representing constant values along with functions, which are the basic building blocks of a C program. After getting our first look at two standard library functions for input and output, we move on to writing our first C programs using the techniques we discussed. At the end of this chapter, you will also be learning about the scope of variables in conjunction with the different types of storage classes and their usage. For starters, let us look at the memory of a typical ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access