I consider myself a mediocre C/C++ programmer but I just saw a line of code that stumped me. Anyone who can provide an answer is greatly appreciate.
This is the code
unsigned char DataBuffer;
unsigned char *BufferPtr;
BufferPtr = (DataBuffer + 4) & (~0x3);
This is the error "error C2296: '&' : illegal, left operand has type 'unsigned char *'"
Why is this kind of pointer manipulation not allowed?