- Assignment in an if statement:
if ((p = q))
q[-1] = '\n';
- Avoided with explicit comparison:
if ((p = strchr(name, '=')) != NULL) {
p++;
- Made explicit with a non-modifiable lvalue:
if (0 == serconsole)
serconsinit = 0;
- In Java and C# the above matter only for boolean expressions