不是标准不一样,标准只有一本。VC在这个问题上的行为是错误的,如果是VC6,赶快把它扔掉,VC6有大量不符合标准的行为,歧途一条。
[/Quote]
The size is determined from the type of the operand. The result is an integer. If the type of the operand is a variable length array type, the operand is evaluated; otherwise, the operand is not evaluated and the result is an integer constant.
c99说,除了可变数组类型(variable length array type),其他的情况操作数不会被求值的。
而&a中运算符&需要求值一次,才返回int (*)[10],不是和上面规定冲突了吗?
求解释。