Variables
What are Variables?
Variables are names given to a computer memory location in order to store data in a program to run it. The values can be known or unknown in a program. They act like containers that become full when data is give to them. They also label the data they are holding.
Creating a Variable
Creating a variable is also known as declaration of a Variable. To declare a variable we need to first tell the variable name and then tell which type of data it is holding. But some programing languages like Python, Perl, PHP, ect- don't need to specify the type of data the Variable is holding.
Comments
Post a Comment