我的印象是后增量(或前增量)只能在相等(=)的右侧完成。但我能够编译下面的代码。你能帮我理解这个特定的代码,尤其是下面的代码。来源:http ://www.ibm.com/developerworks/library/pa-dalign/
*data8++ = -*data8;
void Munge8( void *data, uint32_t size ) {
uint8_t *data8 = (uint8_t*) data;
uint8_t *data8End = data8 + size;
while( data8 != data8End ) {
*data8++ = -*data8;
}
}