This Blog is about Technology to which our World is Addicted

Saturday 30 April 2016

variable



A symbol or name that stands for a value. For example, in theexpression
x+y
x and y are variables. Variables can represent numeric values,characterscharacter strings, or memory addresses.
Variables play an important role in computer programmingbecause they enable programmers to write flexible programs. Rather than entering data directly into a program, a programmer can use variables to represent the data. Then, when the program is executed, the variables are replaced with real data. This makes it possible for the same program to processdifferent sets of data.
Every variable has a name, called the variable name, and a data type. A variable's data type indicates what sort of value the variable represents, such as whether it is an integer, a floating-point number, or a character.
The opposite of a variable is a constant. Constants are values that never change. Because of their inflexibility, constants are used less often than variables in programming.

Share:

0 comments:

Post a Comment

get free cryto here

Check our new updates

CHECK THIS

get your free bitcoins here

Check your Ads here

Get Your Packs here

Powered by Blogger.

Wikipedia

Search results

Contact Form

Name

Email *

Message *

Followers

Email Newsletter

Subscribe to our newsletter to get the latest updates to your inbox. ;-)


Your email address is safe with us!

Total Pageviews

Facebook

Advertise

Translate

Custom Gadget

Blog Archive

Blogger templates