Computer Science for IGCSE & O level - Programming (Section 1 - No. 32)

What is the significance of the data type associated with a variable?
It specifies the size of the variable's name.
It indicates how the variable can be displayed to the user.
It determines the type of values the variable can hold and the operations that can be performed on it.
It determines the location of the variable in memory.

Explanation

Data type dictates what the variable can store, and how it behaves.

Comments (0)

Advertisement