0 like 0 dislike
1 view
asked in Computer Science by (383k points)
Write a short note on data type.

1 Answer

0 like 0 dislike
answered by (383k points)
Data type is a keyword in any languages. It says that in what way we are going to represent our data. If U want to use whole numbers then u can select Integer as ur data type, if u want to use letters u can use character or string data type. It is actually used to say in what format our data is going to be used in our program.

Data variable is the instance of the data type. It is used to store the value. But it can store the value according to the range defined in the data type. For example if u create a data variable for integer as

int c;

then c can store the values from -32768 to +32767
Welcome to Free Homework Help, where you can ask questions and receive answers from other members of the community. Anybody can ask a question. Anybody can answer. The best answers are voted up and rise to the top. Join them; it only takes a minute:

8.6k questions

7.7k answers

24 comments

3.2k users

Categories

Free Hit Counters
...