Chinaunix首页 | 论坛 | 博客
  • 博客访问: 121134
  • 博文数量: 22
  • 博客积分: 145
  • 博客等级: 入伍新兵
  • 技术积分: 127
  • 用 户 组: 普通用户
  • 注册时间: 2012-12-06 15:19
文章分类

全部博文(22)

文章存档

2015年(5)

2014年(2)

2013年(7)

2012年(9)

我的朋友

分类: C/C++

2012-12-30 23:23:44

Table 2.1 summarizes the rules for precedence and associativity of all operators, including those that we have not yet discussed. Operators on the same line have the same precedence; rows are in order of decreasing precedence, so, for example, *, /, and % all have the same precedence, which is higher than that of binary + and -. The ``operator''() refers to function call. The operators -> and . are used to access members of structures; they will be covered in Chapter6, along with sizeof (size of an object). Chapter5 discusses * (indirection through a pointer) and & (address of an object), and Chapter 3 discusses the comma operator. 

Unary & +, -, and * have higher precedence than the binary forms. 

The End!
阅读(1176) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~