- 论坛徽章:
- 1
|
A.7.1 Pointer Generation
If the type of an expression or subexpression is ``array of T,'' for some type T, then the value of the expression is a pointer to the first object in the array, and the type of the expression is altered to ``pointer to T.'' This conversion does not take place if the expression is in the operand of the unary & operator, or of ++, --, sizeof, or as the left operand of an assignment operator or the . operator. Similarly, an expression of type ``function returning T,'' except when used as the operand of the & operator, is converted to ``pointer to function returning T.''
懂得朋友可以跟我解释一下上面的意思吗? 看很久都看不明白
谢谢
[ 本帖最后由 shihyu 于 2007-6-12 02:38 编辑 ] |
|