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

  • The Difference Between Adware & Spyware

    Not technically fitting into either the virus or spam category we have spyware and adware, which are growing concerns for Internet users.

    Read More »

Did You Know? Archive »

  • Quick Reference Archive »