C++ 操作符优先级

来源:互联网 发布:twistedwave mac 编辑:程序博客网 时间:2024/06/04 18:02

C、C++ 操作符优先级

 

       优先级    操作符1()[]->. ::    !~++--2- (unary)* (dereference) & (address of)sizeof3->*.*  4* (multiply)/%5+-6<<>>7<<=>>=8==!=9& (bitwise AND)10^11|12&&13||14? :15=+=-=etc.16,
原创粉丝点击