English, asked by yash27447, 6 months ago


4. What are basic differences between variables and data types in the c?

Answers

Answered by Braɪnlyємρєяσя
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 hamsavahini738
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