We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
醋坛酸味灌 味落跳福豆
共44个运算符:
醋-初等,4个: ( ) [ ] -> 指向结构体成员 . 结构体成员 坛-单目,9个: ! ~ ++ -- -负号 (类型) *指针 &取地址 sizeof长度 酸-算术,5个: * / % + -减 味-位移,2个: << >> 灌-关系,6个: < <= > >= == 等于 != 不等于 味-位逻,3个: & 按位与 ^ 按位异或 | 按位或 落-逻辑,2个: && 逻辑与 || 逻辑或 跳-条件,1个,三目: ? : 福-赋值,11个: = += -= *= /= %= >>= <<= &= ^= |= 豆-逗号,1个: ,
同一优先级的运算符,运算次序由结合方向所决定。
简单记就是:! > 算术运算符 > 关系运算符 > && > || > 赋值运算符
The text was updated successfully, but these errors were encountered:
No branches or pull requests
运算符优先级表
巧记
共44个运算符:
醋-初等,4个: ( ) [ ] -> 指向结构体成员 . 结构体成员
坛-单目,9个: ! ~ ++ -- -负号 (类型) *指针 &取地址 sizeof长度
酸-算术,5个: * / % + -减
味-位移,2个: << >>
灌-关系,6个: < <= > >= == 等于 != 不等于
味-位逻,3个: & 按位与 ^ 按位异或 | 按位或
落-逻辑,2个: && 逻辑与 || 逻辑或
跳-条件,1个,三目: ? :
福-赋值,11个: = += -= *= /= %= >>= <<= &= ^= |=
豆-逗号,1个: ,
总结
同一优先级的运算符,运算次序由结合方向所决定。
简单记就是:! > 算术运算符 > 关系运算符 > && > || > 赋值运算符
The text was updated successfully, but these errors were encountered: