沉静
  
  首页 >>  
我的日历
分类日志
友情链接
最新评论
搜索日志
访问计数
获取 RSS
我的 Blog:
youalwayscan 最新的 20 条日志
[心情留言]
[点滴积累]
[好文共赏]
[C/C+基础]
[Unix/Linux基础]
[WxWidgets]
[VC/MFC]
全站 Blog:
全站最新的 20 条日志

 

指针小问题(1)

   C/C+基础2005-4-13 12:1
int *ip;

与++*ip相等价的是*ip++还是(*ip)++ ?

是后者!

because unary operators like * and ++ associate right to left.




++i+ ++i 和 ++i++ +i格式哪个正确?
前者,后者编译时会出错!
标签集:TAGS:
回复Comments()点击Count()

回复Comments

{commenttime}{commentauthor}

{CommentUrl}
{commentcontent}