括号的作用
先看下面3段代码
bool iszero(char** p) { while(**p!='\0') { (*p)++; } return true; }

bool iszero(char** p) { while(**p!='\0') { *p++; } return true; }

bool iszero(char** p) { while(**p!='\0') { p++; } return true; }
下面是反汇编后的代码 可以发现 后面2种表达的意思是一样的

0040100F |. 8B45 08 |MOV EAX,DWORD PTR SS:[EBP+8] 00401012 |. 8B08 |MOV ECX,DWORD PTR DS:[EAX] 00401014 |. 83C1 01 |ADD ECX,1

0040100F |. 8B45 08 |MOV EAX,DWORD PTR SS:[EBP+8] 00401012 |. 83C0 04 |ADD EAX,4
0040100F |. 8B45 08 |MOV EAX,DWORD PTR SS:[EBP+8] 00401012 |. 83C0 04 |ADD EAX,4