2 .\" Copyright (c) 1989, 1990, 1993
3 .\" The Regents of the University of California. All rights reserved.
5 .\" SPDX-License-Identifier: BSD-3-Clause
7 .\" @(#)operator.7 8.1 (Berkeley) 6/9/93
9 .\" Copied shamelessly from FreeBSD with minor changes. 2003-05-21
10 .\" Brian M. Carlson <sandals@crustytoothpaste.ath.cx>
12 .\" Restored automatic formatting from FreeBSD. 2003-08-24
13 .\" Martin Schulze <joey@infodrom.org>
15 .\" 2007-12-08, mtk, Converted from mdoc to man macros
17 .TH operator 7 (date) "Linux man-pages (unreleased)"
19 operator \- C operator precedence and order of evaluation
21 This manual page lists C operators and their precedence in evaluation.
26 Operator Associativity Notes
27 [] () . \-> ++ \-\- left to right [1]
28 ++ \-\- & * + \- \[ti] ! sizeof right to left [2]
33 < > <= >= left to right
41 = *= /= %= += \-= <<= >>= &= \[ha]= |= right to left
45 The following notes provide further information to the above table:
49 The ++ and \-\- operators at this precedence level are
50 the postfix flavors of the operators.
52 The ++ and \-\- operators at this precedence level are
53 the prefix flavors of the operators.