define 5 data type ???
Answers
Answered by
5
Answer:
integers, floating point number, charecter, string, arrays
Answered by
0
Defining data type:
Explanation:
The data type is a type, which describes the variable to store the value within. It is used in the language, which is strongly typed. The data types can be divided into two types, which can be described as follows:
- Primitive data types: integer, float, char, double, void.
- non-primitive datatypes: structure, union, array.
Description:
- integer: It is used to store integer values, like 1, 77, and 7846733, etc.
- Float: It is used to store decimal values, like 3.5, 67.99, etc.
- Char: It is used to store char value, with single or double quotes, like 'a', or "a".
- Double: It is used to store long float values, like 34.555556.
- Void: It relates to value, that doesn't store any value.
- Array: It is a data type, which is used to store the same type of element like, group of integer value, group of float value, group of char value, etc.
Learn more:
- Data type: https://brainly.in/question/11652751
Similar questions