An assignment writes a variable with a value. The variable to be written is called the destination, and the value to write is called the source.
In this example, the value at a is written to x.
x = a
The source of an assignment is an expression that results in either a variable or a value. If the result is a variable, then the value of the variable is taken as the source.
When a variable of data structure type or array type is assigned, a reference is copied. When another value is assigned it is copied.
We would be more than happy to help you. Our opening hours are 9–15 (CET).
📞 (+47) 93 68 22 77
Nils Bays vei 50, 0876 Oslo, Norway