> For the complete documentation index, see [llms.txt](https://muradkarakas.gitbook.io/sodium_documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://muradkarakas.gitbook.io/sodium_documentation/language-reference/lexical-elements/expressions-and-operators/assignment-operators.md).

# Assignment Operators

Assignment operators store values in variables. Sodium provides several variations of assignment operators

The standard assignment operator `=` simply stores the value of its right operand in the variable specified by its left operand. As with all assignment operators, the left operand (commonly referred to as the `lvalue`) cannot be a literal or constant value.

`int x = 10;`&#x20;

`int z = 2 * (3 + function());`
