Elementary Data Types. Prof. A lamdeep Singh. Scalar Data Types. Scalar data types represent a single object, i.e. only one value can be derived. In general, scalar objects follow the hardware architecture of a computer. Integers
Prof. Alamdeep Singh
SpecificationMaximal and minimal values - depending on the hardware. In some languages these values represented as defined constants.
Similar arithmetic, relational and assignment operations as with integers. Roundoff issues - the check for equality may fail due to roundoff.
Advantages: the entire block can be moved to another location without invalidating the addresses in the pointers, as they are relative, not absolute.