Variable is the name of a memory
location which stores some data.
Memory
a b
,Variables
Rules
a. Variables are case sensitive
b. 1st character is alphabet or '_'
c. no comma/blank space
d. No other symbol other than '_'
,Variables
Data Types
, Constants
Values that don't change(fixed)
Types
Integer Character
Constants Real Constants
Constants