Multiple choice

The target of an assignment statement should be

  1. l-value

  2. either l-value or r-value

  3. r-value

  4. none of the above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In programming, the target of an assignment (the left side) must be a memory location that can be written to, which is known as an l-value.