Define variable with an example.
237 Likes
A variable represents a memory location through a symbolic name which holds a known or unknown value of a particular data type. This name of the variable is used in the program to refer to the stored value.Example:
int mathScore = 95;
Answered By
147 Likes
What do you mean by data type?
What do you mean by constant? Explain with an example.
State two kinds of data types.