A data type is a set of objects and a set of operations on those objects which create, build-up, destroy, modify and pick apart instances of the objects. Every programming language begins by supplying a set of data types. In LISP, the major data type is the binary tree (called an S-expression) and the basic operations are called CAR, CDR and CONS. More on this in Chapter 12. In modern imperative programming languages the usual built-in data types include integer, real, character and Boolean. Table 5-1 lists the built-in types for some of these languages.
KeywordsData Type Pointer Variable Character String Type Definition Null String
Unable to display preview. Download preview PDF.