<code>if (b = true) ...</code> where b is boolean
- A
Throws exception
- Bcheck_circle
Always enters if (assigns true to b, condition is true)
- C
Compares b to true
- D
Compile error
Explanation
Legal but bug-prone: assignment returns the assigned value (true).