- 论坛徽章:
- 0
|
本帖最后由 wwwsq 于 2012-05-31 09:17 编辑
ifreecoding 发表于 2012-05-31 06:05 ![]()
有意义么,扣字眼,至于这么愤青么。
如果你非要喷,我就陪你喷。变量本身就是表达式,我觉得没错, ...
咩
6.5.1 Primaryexpressions
Syntax
1 primary-expression:
identifier
constant
string-literal
( expression )
Semantics
2 An identifier is a primary expression, provided it has been declared as designating an
object (in which case it is an lvalue) or a function (in which case it is a function
designator).
79)
3 Aconstant is a primary expression. Itstype depends on its form and value, as detailed in
6.4.4.
4 Astring literal is a primary expression. Itis an lvalue with type as detailed in 6.4.5.
5 Aparenthesized expression is a primary expression. Itstype and value are identical to
those of the unparenthesized expression. Itis an lvalue, a function designator,oravoid
expression if the unparenthesized expression is, respectively,anlvalue, a function
designator,oravoid expression.
Forward references: declarations (6.7).
我猜他是想说primary expression,但是我从头到尾没看到说variable是primary expression啊??
|
|