
...
Code Block | ||
---|---|---|
| ||
int x = 50; x += (x << 2) + 1; |
Although this is a legal valid manipulation, the result of the shift depends on the underlying representation of the integer type and is consequently implementation-defined. Additionally, the readability of the code is reduced.
...