{
    "mode": "man",
    "parameter": "precedence",
    "section": "7",
    "url": "https://www.chedong.com/phpMan.php/man/precedence/7/json",
    "generated": "2026-10-07T13:54:18Z",
    "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++ -- & * + - ~ ! sizeof            right to left   [2]\n(type)                              right to left\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  opera‐\ntors.\n\nLinux man-pages 6.7                          2023-10-31                                  operator(7)"
                }
            ]
        }
    },
    "summary": "operator - C operator precedence and order of evaluation",
    "flags": [],
    "examples": [],
    "see_also": []
}