tail head cat sleep
QR code linking to this page

Manual Pages  — OPERATOR

NAME

operator – C and C++ operator precedence and order of evaluation

CONTENTS

DESCRIPTION

Operator Associativity

--------
-------------

() [] -> .
left to right

! ~ ++ -- - (type) * & sizeof new delete
right to left

->* .*
left to right

* / %
left to right

+ -
left to right

<< >>
left to right

< <= > >=
left to right

== !=
left to right

&
left to right

^
left to right

|
left to right

&&
left to right

||
left to right

?:
right to left

= += -= *= /= %= <<= >>= &= ^= |= throw
right to left

?: (C++, third operand)
right to left
, left to right

FILES

/usr/share/misc/operator
 

OPERATOR (7) April 8, 2009

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

Today, the Unix equivalent of a power drill would have 20 dials and switches, come with a nonstandard plug, require the user to hand-wind the motor coil, and not accept 3/8" or 7/8" drill bits (though this would be documented in the BUGS section of its instruction manual).
— The Unix Haters' handbook