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
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Elementary Data Types
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.
Implementation: usually handled by the operating system.