j****j 发帖数: 270 | 1 8. What’s potentially wrong with the following code?
long value;
//some stuff
value &= 0xFFFF;
Note: Hint to the candidate about the base platform they’re
developing for. If the person still doesn’t find anything wrong with the
code, they are not experienced with C++.
9. What does the following code do and why would anyone write something
like that?
void send (int *to, int * from, int count)
{
int n = (count + 7) / 8;
|
|