.的優先級高於*(->操做符用於消除這個問題)數組
*p.f:對p取f偏移,做爲指針,而後進行解除引用操做。*(p.f)ide
[]高於*函數
int* ap[]:ap是個元素爲int指針的數組int*(ap[])spa
函數()高於*指針
int* fp():fp是個函數,返回int*。int*(fp())get
==和!=高於位操做符it
val & mask != 0:val & (mask != 0)class
==和!=高於賦值符引用
c = getchar() !=EOF:c = (getchar() != EOF)im
算術運算高於移位運算符
msb << 4 + lsb:msb << (4 + lsb)
逗號運算符在全部運算符中優先級最低
i = 1, 2:(i = 1), 2