quote:Original post by Kylotan
Not at all recommended, by the way Bad programming practice, really.
Not only that, but it''s illegal (undefined behaviour). An arithmetic expression taking a pointer as operand is not allowed to yield a pointer that points anywhere other than within the array or one past the end.
[C++ FAQ Lite | ACCU | Boost | Learning C++]