4. What are basic differences between variables and data types in the c?
Answers
Answered by
8
Explanation:
A variable must have a data type associated with it, for example it can have data types like integer, decimal numbers, characters etc. The variable of type Integer stores integer values and a character type variable stores character value. The primary difference between various data types is their size
Answered by
2
Answer:
Variables : variables can be thought as name assigned for holder that refer to your actual object so when we say int x its just like a placeholder that refer to nothing (garbage value in c) but when we say int x=10; it initializes x with value 10 (now its refer to data object of type int also in this case name of data.
Datatypes provides structure of storing variables , think of this as your body skeleton.
Similar questions
English,
2 months ago
Math,
2 months ago
Computer Science,
2 months ago
Physics,
6 months ago
Social Sciences,
6 months ago
Math,
11 months ago
Math,
11 months ago
English,
11 months ago