Data types are required for efficient coding of programs. There are two types
Primitive data types includes Boolean, which stores logical values true or false. Operation on Boolean data type include AND, OR and NOT. Ranges of primitives data types depend on the number of bits allocated by the compiler and hardware circuitry.
On small computers, for example, real number are often processed using software instructions.
Table below summarizes ranges of different primitive data types.
More Coming soon
- Primitive Data types
- Composite Data types
Primitive data types includes Boolean, which stores logical values true or false. Operation on Boolean data type include AND, OR and NOT. Ranges of primitives data types depend on the number of bits allocated by the compiler and hardware circuitry.
- Typocally an integer type ranges from -2,147,483,648 to 2,147,483,647.
- Character type can range from 0 to 65,000
On small computers, for example, real number are often processed using software instructions.
Table below summarizes ranges of different primitive data types.
More Coming soon
No comments:
Post a Comment