Click here

assign

To give a value to a variable. In programming, you assign a value to a variable with a special symbol called an assignment operator. In many languages, the assignment operator is the equal sign (=). For example, the following C language statement assigns the value 5 to the variable x:

x = 5

Such a statement is called an assignment statement.



Top Terms

Connect with Webopedia

  • What is 250 GB Data Usage?

    What is 250 GB (250 gigabytes) and why is this phrase so popular? Webopedia explains what the phrase 250 GB means in reference to data storage...

    Read More »

Did You Know? Archive »

  • Quick Reference Archive »