Define data types | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Define data types

11th Dec 2015, 2:10 PM
Arslan
3 Answers
+ 1
data types are very useful to allocate the specified memory to the variables.it indicates which type of variable we are using for example, int x; here we declared x as integer it consists only integers and compilers reserves 2 bytes memory to store it.
15th Jun 2016, 5:15 AM
anirudh
anirudh - avatar
0
the data type defines the use of an identifier. Additionally, it shows what data is about to be stored and indicates what type of operations and manipulations the programmer can implement
3rd Jan 2016, 1:41 PM
Sardor
Sardor - avatar
0
data type is the type of programe means it tells about wich type of data we can use in it there is many data types e.g int is for integer values ,float is for those values which includes poimts (3.23)and many more like that every data typa is different from the other one
19th Jun 2016, 7:21 PM
Iman Ali
Iman Ali - avatar