manpagez: man pages & more
man operator(7)
Home | html | info | man
operator(7)          BSD Miscellaneous Information Manual          operator(7)


NAME

     operator -- C operator precedence and order of evaluation


DESCRIPTION

           Operator                        Associativity
           --------                        -------------
           () [] -> .                      left to right
           ! ~ ++ -- - (type) * & sizeof   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
           ?:                              right to left
           = += -= etc.                    right to left
           ,                               left to right


FILES

     /usr/share/misc/operator

BSD                              June 9, 1993                              BSD

Mac OS X 10.8 - Generated Mon Sep 3 13:00:33 CDT 2012
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.