1OPERATOR(7)                Linux Programmer's Manual               OPERATOR(7)
2
3
4

NAME

6       operator - C operator precedence and order of evaluation
7

DESCRIPTION

9       This manual page lists C operators and their precedence in evaluation.
10
11       Operator                             Associativity
12       () [] -> .                           left to right
13       ! ~ ++ -- + - (type) * & sizeof      right to left
14       * / %                                left to right
15       + -                                  left to right
16       << >>                                left to right
17       < <= > >=                            left to right
18       == !=                                left to right
19       &                                    left to right
20       ^                                    left to right
21       |                                    left to right
22       &&                                   left to right
23       ||                                   left to right
24       ?:                                   right to left
25       = += -= *= /= %= <<= >>= &= ^= |=    right to left
26       ,                                    left to right
27

COLOPHON

29       This  page  is  part of release 3.53 of the Linux man-pages project.  A
30       description of the project, and information about reporting  bugs,  can
31       be found at http://www.kernel.org/doc/man-pages/.
32
33
34
35Linux                             2011-09-09                       OPERATOR(7)
Impressum