ShriRam Changed status to publish October 1, 2022
In programming, data types are declarations for variables. This determines the type and size of data associated with variables or we can say Type of value that a variable can store is called data type.
For example, int myVar; Here, myVar is a variable of int (integer) type.
A data type tells the compiler or interpreter how the programmer intends to use the data and what type of mathematical, relational or logical operations can be applied to it without causing an error.
ShriRam Changed status to publish October 1, 2022