What do you understand by data-type? Which are the four basic data-types in C.
Answers
Answered by
2
a particular kind of data item, as defined by the values it can take, the programming language used, or the operations that can be performed on it.
int (integer) float(IEEE 4-byte floating-point e.g 2.3 or 2 but 2.3 doesn't support integer) char( single character) bool (boolean true or false)
int (integer) float(IEEE 4-byte floating-point e.g 2.3 or 2 but 2.3 doesn't support integer) char( single character) bool (boolean true or false)
Answered by
7
Data types refer to the type of data that we enter and we must make a particular variable to the type of data type we want it to be.
For example, if we want to enter integer values, the variable must be of data type int or long.
4 basic data types are as following: int, double, long, float.
Similar questions