The reason is operator precedence.
原因是操作符的优先顺序。
Why do languages have operator precedence?
为什么语言运算符优先级吗?
This grammar also knows about operator precedence.
该语法还知道运算符优先级。
PHP operator precedence "Undefined order of evaluation"?
评价“PHP算符优先”未定义的顺序?
Operator precedence grammar is a powerful tool for handling arithmetic expressions.
算符优先文法是处理算术表达式的有力工具。
Many programming language manuals provide a table of operator precedence and associativity .
大多数程序设计语言提供一个操作条符的优先级和结合性的表格。
So the point is, there is something here called operator precedence, which is what the gentleman said.
这里我要说的就是,这里有个,叫做操作优先的规则,也就是刚才那位先生说的。
Consider using parentheses to improve readability and avoid mistakes because of logical operator precedence.
考虑使用括号来改善可读性和避免由于逻辑操作符的优先级导致的错误。
Provides a table that lists operators and corresponding precedence and an example of how operator precedence works.
提供一个列出运算子、对应的优先顺序的资料表,以及一个运算子优先顺序运作方式的范例。
Extended object-based operator precedence algorithm was proposed on the basis of traditional operator precedence algorithm.
在传统算符优先归约算法的基础上,提出了扩展的、基于对象的算符优先算法。
Creating complex expressions such as the one in the preceding example requires a thorough understanding of the rules of operator precedence.
创建前面示例中这样的复杂表达式要求彻底理解运算符优先级的规则。
If you use more than one mathematical operator in an expression, the Query and View Designer processes the expression according to the following operator precedence.
如果一个运算式中使用多个算术运算子,查询和检视表设计工具会依照以下的运算子优先顺序处理运算式。
Using the current commonly used operator priority method, introduces a common expression of the calculation process, and one of the key issues, operator precedence matrix design and implementation.
使用目前常用的算符优先法,对通用表达式计算过程进行了介绍,并对其中的关键问题——运算符优先矩阵的设计和实现进行了研究。
The logical operators have lower precedence than the individual comparison operators, which makes sense because the comparison has to be evaluated before the logical operator can be evaluated.
逻辑运算符的优先级低于单独的比较运算符,这一点意义重大,因为必须先计算比较运算符,然后才能计算逻辑运算符。
The associativity of an operator defines the order in which operators of the same precedence are grouped (right-to-left or left-to-right).
操作符的结合性定义了相同优先级操作符组合的顺序(从右至左或从左至右)。
Precedence or operator strength determines order of evaluation; an operator with higher precedence is evaluated before one of lower precedence.
优先级或者说操作符的强度决定求值顺序;优先级高的操作符比优先级低的操作符先求值。
If the character is an operator, pop operators until you reach an opening parenthesis, an operator of lower precedence, or a right associative symbol of equal precedence.
如果字符是个操作符,弹出(pop)操作符,直至遇见开括号(openingparenthesis)、优先级较低的操作符或者同一优先级的右结合符号。
This type of expression uses one pair of parentheses for each operator. Theparentheses dictate the order of operations; there is no ambiguity. There isalso no need to remember any precedence rules.
有一种书写表达式的方法叫做“完全括号”,这种表达式把每一个操作符都加了括号,表达完全精确,也不必记忆优先级规则。
Does Postfix operator really has a higher precedence than prefix?
是否真的有比前缀,后缀式操作符的优先级更高?
Multiplication and division have higher precedence than addition. Their operands are bound to the operator in preference to the operands to addition.
乘法和除法的优先级高于加法操作,于是它们的操作数先于加法操作的操作数计算。
The conditional operator has lower precedence than bitwise operators.
条件运算符的优先级比按位运算符的优先级低。
The precedence (Section 5.10.1, p. 168), associativity, or number of operands of an operator cannot be changed.
操作符的优先级(第5.10.1节)、结合性或操作数目不能改变。
The precedence (Section 5.10.1, p. 168), associativity, or number of operands of an operator cannot be changed.
操作符的优先级(第5.10.1节)、结合性或操作数目不能改变。
应用推荐