Question: what is the difference between data types and variables?
Answer: Variable is used to hold data whereas data type specifies what type of data is contained by the variable. Eg. int Num=10; Here Num specifies the location in memory where 10 is stored and int specifies that value which is stored in Num is 10 means integer number.