Wednesday, 1 April 2015

0 CODER 1

Variables:

During Programming we need to store data.This data is stored in variables.Variables are locations in memory for storing data.The memory is divided into blocks.It can be viewed as pigeon-holes.You can also think of it as PO boxes.In post offices there are many boxes and each has an address.Similarly in memory,there is numerical address for each location memory(block). It is difficult for us to handle these numerical addresses in our programs.So we give a name to these locations.These names are variables.We call them variables because they can contain different values at different time.

No comments:

Post a Comment