{
    "mode": "man",
    "parameter": "operator",
    "section": "7",
    "url": "https://www.chedong.com/phpMan.php/man/operator/7/json",
    "generated": "2026-06-13T22:56:38Z",
    "sections": {
        "NAME": {
            "content": "operator - C operator precedence and order of evaluation\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This manual page lists C operators and their precedence in evaluation.\n",
            "subsections": [
                {
                    "name": "Operator                            Associativity   Notes",
                    "content": "() [] -> . ++ --                    left to right   [1]\n! ~ ++ -- + - (type) * & sizeof     right to left   [2]\n* / %                               left to right\n+ -                                 left to right\n<< >>                               left to right\n< <= > >=                           left to right\n== !=                               left to right\n&                                   left to right\n^                                   left to right\n|                                   left to right\n&&                                  left to right\n||                                  left to right\n?:                                  right to left\n= += -= *= /= %= <<= >>= &= ^= |=   right to left\n,                                   left to right\n\nThe following notes provide further information to the above table:\n\n[1] The  ++  and  -- operators at this precedence level are the postfix flavors of the opera‐\ntors.\n[2] The ++ and -- operators at this precedence level are the prefix flavors of the operators.\n"
                }
            ]
        },
        "COLOPHON": {
            "content": "This page is part of release 5.10 of the Linux  man-pages  project.   A  description  of  the\nproject,  information about reporting bugs, and the latest version of this page, can be found\nat https://www.kernel.org/doc/man-pages/.\n\n\n\nLinux                                        2020-08-13                                  OPERATOR(7)",
            "subsections": []
        }
    },
    "summary": "operator - C operator precedence and order of evaluation",
    "flags": [],
    "examples": [],
    "see_also": []
}