Arithmetic and Data Types - Introduction

Chapter chap4 section 1

In this chapter we will see how the C programming language handles a wider range of numerical data types than the simple integers we have studied so far. For the various data types we will see how to read them in, how to print them out, how to write constant values and how expressions involving numbers of more than one type are evaluated.

There are three basic data types. The notion of a data type reflects the possibility of the 1s and 0s stored in a computer memory location being interpreted in different ways. For full details an appropriate text on computer architecture should be consulted.

The C programming language does not support the fixed point and binary coded decimal data types widely used in commercial programming to store monetary information.


See also