C, the programming language

 

operator precedence: structure member operator . is higher than pointer dereference operator ;

If p is a pointer to a structure, then
p->member-of-structure   refers to the particular member.  -> is also higher than
* ;

The two operator above (. and ->), together with () for function calls and [] for subscripts, are at the top of
the precedence hierarchy and thus bind very tightly.

posted on 2012-06-30 10:07  operation_master  阅读(102)  评论(0编辑  收藏  举报

导航