
Data Types
The kind of data that the used variables can hold in a programming language is known as the data type.
Basic data types are as follows:
1. Numeric Data Type
2. Non-Numeric Data Type
3. Integer Data Type
4. Real Data Type
5. Logical Data Type
6. Enumerated Data Type
1)Numeric Data Type: Totally deals with the numbers. These numbers can be of integer (int) data type or real (float) data type
2)Non-Numeric Data Type :
Totally deals with characters. Any character or group of characters
enclosed within quotes will be considered as non-numeric or character
data type.
3) Integer Data Type :
Deals with integers or whole numbers. All...