2 ms·
The question equates to "spot the undefined behaviour in this statement" which I think is a legitimate question for assessing knowledge of a language like C++,
by notaddicted 14y ago
The question equates to "spot the undefined behaviour in this statement" which I think is a legitimate question for assessing knowledge of a language like C++, and to use as a starting point to find out if they understand the difference between programming to the language spec. versus programming to the compiler.