mirror of
https://github.com/wangdoc/clang-tutorial.git
synced 2026-02-03 02:43:44 +08:00
docs(operator): fix typo
This commit is contained in:
@@ -436,7 +436,7 @@ x = 1, 2, 3;
|
||||
5 * 6 / 2;
|
||||
```
|
||||
|
||||
上面示例中,`*`和`-`的优先级相同,它们都是左结合运算符,所以从左到右执行,先计算`5 * 6`,再计算`6 / 2`。
|
||||
上面示例中,`*`和`/`的优先级相同,它们都是左结合运算符,所以从左到右执行,先计算`5 * 6`,再计算`6 / 2`。
|
||||
|
||||
运算符的优先级顺序很复杂。下面是部分运算符的优先级顺序(按照优先级从高到低排列)。
|
||||
|
||||
|
||||
@@ -25,6 +25,6 @@
|
||||
"gh-pages": "^3.2.3",
|
||||
"husky": "^4.3.8",
|
||||
"loppo": "^0.6.24",
|
||||
"loppo-theme-wangdoc": "^0.6.0"
|
||||
"loppo-theme-wangdoc": "^0.6.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user