 
                            ...
| Code Block | ||||
|---|---|---|---|---|
| 
 | ||||
| do { /* ... */ } while ( foo(), x == y ) ; 
 | 
Compliant Solution
When the assignment is intended, the following is an alternative compliant solution:
...
| Code Block | ||||
|---|---|---|---|---|
| 
 | ||||
|  do { /* ... */ } while ( x = y, p = q ) ; | 
Compliant Solution
This is a compliant example because the expression x = y is not used as the controlling expression of the while statement:
...