Files
hustoj/web/cppreference-zh/chmhelp/c-language-operator_precedence.html
2025-08-01 12:57:54 +08:00

313 lines
21 KiB
HTML

<!DOCTYPE html>
<html lang="zh" dir="ltr" class="client-nojs" xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh">
<head><meta http-equiv="x-ua-compatible" content="ie=edge">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>C &#36816;&#31639;&#31526;&#20248;&#20808;&#32423;</title>
<link rel="stylesheet" href="ext.css" />
<link rel="stylesheet" href="site_modules.css" />
</head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject page-c_language_operator_precedence skin-cppreference2 action-view cpp-navbar">
<div id="cpp-content-base">
<div id="content"><a id="top"></a>
<h1 id="firstHeading" class="firstHeading">C &#36816;&#31639;&#31526;&#20248;&#20808;&#32423;</h1>
<div id="bodyContent">
<div id="contentSub"><span class="subpages">&lt; <a href="c.html">c</a>&lrm; | <a href="c-language.html">language</a></span></div>
<div id="mw-content-text" lang="zh" dir="ltr" class="mw-content-ltr" xml:lang="zh">
<p>&#19979;&#34920;&#21015;&#20986; C &#36816;&#31639;&#31526;&#30340;&#20248;&#20808;&#32423;&#21644;&#32467;&#21512;&#24615;&#12290;&#36816;&#31639;&#31526;&#20174;&#39030;&#21040;&#24213;&#20197;&#38477;&#24207;&#21015;&#20986;&#12290;</p>
<table class="wikitable">
<tr>
<th style="text-align: left">&#20248;&#20808;&#32423;</th>
<th style="text-align: left">&#36816;&#31639;&#31526;</th>
<th style="text-align: left">&#25551;&#36848;</th>
<th style="text-align: left">&#32467;&#21512;&#24615;</th>
</tr>
<tr>
<th rowspan="6">1</th>
<td style="border-bottom-style: none"><code>++</code> <code>--</code></td>
<td style="border-bottom-style: none">&#21518;&#32512;&#33258;&#22686;&#19982;&#33258;&#20943;</td>
<td style="vertical-align: top" rowspan="6">&#20174;&#24038;&#21040;&#21491;</td>
</tr>
<tr>
<td style="border-bottom-style: none; border-top-style: none"><code>()</code></td>
<td style="border-bottom-style: none; border-top-style: none">&#20989;&#25968;&#35843;&#29992;</td>
</tr>
<tr>
<td style="border-bottom-style: none; border-top-style: none"><code>[]</code></td>
<td style="border-bottom-style: none; border-top-style: none">&#25968;&#32452;&#19979;&#26631;</td>
</tr>
<tr>
<td style="border-bottom-style: none; border-top-style: none"><code>.</code></td>
<td style="border-bottom-style: none; border-top-style: none">&#32467;&#26500;&#20307;&#19982;&#32852;&#21512;&#20307;&#25104;&#21592;&#35775;&#38382;</td>
</tr>
<tr>
<td style="border-bottom-style: none; border-top-style: none"><code>-&gt;</code></td>
<td style="border-bottom-style: none; border-top-style: none">&#32467;&#26500;&#20307;&#19982;&#32852;&#21512;&#20307;&#25104;&#21592;&#36890;&#36807;&#25351;&#38024;&#35775;&#38382;</td>
</tr>
<tr>
<td style="border-bottom-style: none; border-top-style: none"><code>(<i>type</i>){<i>list</i>}</code></td>
<td style="border-bottom-style: none; border-top-style: none">&#22797;&#21512;&#23383;&#38754;&#37327;<span class="t-mark-rev t-since-c99">(C99)</span></td>
</tr>
<tr>
<th rowspan="8">2</th>
<td style="border-bottom-style: none"><code>++</code> <code>--</code></td>
<td style="border-bottom-style: none">&#21069;&#32512;&#33258;&#22686;&#19982;&#33258;&#20943;<sup id="cite_ref-1" class="reference"><a href="c-language-operator_precedence.html#cite_note-1">[&#27880; 1]</a></sup></td>
<td style="vertical-align: top" rowspan="8">&#20174;&#21491;&#21040;&#24038;</td>
</tr>
<tr>
<td style="border-bottom-style: none; border-top-style: none"><code>+</code> <code>-</code></td>
<td style="border-bottom-style: none; border-top-style: none">&#19968;&#20803;&#21152;&#19982;&#20943;</td>
</tr>
<tr>
<td style="border-bottom-style: none; border-top-style: none"><code>!</code> <code>~</code></td>
<td style="border-bottom-style: none; border-top-style: none">&#36923;&#36753;&#38750;&#19982;&#36880;&#20301;&#38750;</td>
</tr>
<tr>
<td style="border-bottom-style: none; border-top-style: none"><code>(<i>type</i>)</code></td>
<td style="border-bottom-style: none; border-top-style: none">&#36716;&#22411;</td>
</tr>
<tr>
<td style="border-bottom-style: none; border-top-style: none"><code>*</code></td>
<td style="border-bottom-style: none; border-top-style: none">&#38388;&#25509;&#65288;&#35299;&#24341;&#29992;&#65289;</td>
</tr>
<tr>
<td style="border-bottom-style: none; border-top-style: none"><code>&amp;</code></td>
<td style="border-bottom-style: none; border-top-style: none">&#21462;&#22336;</td>
</tr>
<tr>
<td style="border-bottom-style: none; border-top-style: none"><code>sizeof</code></td>
<td style="border-bottom-style: none; border-top-style: none">&#21462;&#22823;&#23567;<sup id="cite_ref-2" class="reference"><a href="c-language-operator_precedence.html#cite_note-2">[&#27880; 2]</a></sup></td>
</tr>
<tr>
<td style="border-bottom-style: none; border-top-style: none"><code>_Alignof</code></td>
<td style="border-bottom-style: none; border-top-style: none">&#23545;&#40784;&#35201;&#27714;<span class="t-mark-rev t-since-c11">(C11)</span></td>
</tr>
<tr>
<th>3</th>
<td><code>*</code> <code>/</code> <code>%</code></td>
<td>&#20056;&#27861;&#12289;&#38500;&#27861;&#21450;&#20313;&#25968;</td>
<td style="vertical-align: top" rowspan="11">&#20174;&#24038;&#21040;&#21491;</td>
</tr>
<tr>
<th>4</th>
<td><code>+</code> <code>-</code></td>
<td>&#21152;&#27861;&#21450;&#20943;&#27861;</td>
</tr>
<tr>
<th>5</th>
<td><code>&lt;&lt;</code> <code>&gt;&gt;</code></td>
<td>&#36880;&#20301;&#24038;&#31227;&#21450;&#21491;&#31227;</td>
</tr>
<tr>
<th rowspan="2">6</th>
<td style="border-bottom-style: none"><code>&lt;</code> <code>&lt;=</code></td>
<td style="border-bottom-style: none">&#20998;&#21035;&#20026; &lt; &#19982; &le; &#30340;&#20851;&#31995;&#36816;&#31639;&#31526;</td>
</tr>
<tr>
<td style="border-top-style: none"><code>&gt;</code> <code>&gt;=</code></td>
<td style="border-top-style: none">&#20998;&#21035;&#20026; &gt; &#19982; &ge; &#30340;&#20851;&#31995;&#36816;&#31639;&#31526;</td>
</tr>
<tr>
<th>7</th>
<td><code>==</code> <code>!=</code></td>
<td>&#20998;&#21035;&#20026; = &#19982; &ne; &#20851;&#31995;</td>
</tr>
<tr>
<th>8</th>
<td><code>&amp;</code></td>
<td>&#36880;&#20301;&#19982;</td>
</tr>
<tr>
<th>9</th>
<td><code>^</code></td>
<td>&#36880;&#20301;&#24322;&#25110;&#65288;&#25490;&#38500;&#25110;&#65289;</td>
</tr>
<tr>
<th>10</th>
<td><code>|</code></td>
<td>&#36880;&#20301;&#25110;&#65288;&#21253;&#21547;&#25110;&#65289;</td>
</tr>
<tr>
<th>11</th>
<td><code>&amp;&amp;</code></td>
<td>&#36923;&#36753;&#19982;</td>
</tr>
<tr>
<th>12</th>
<td><code>||</code></td>
<td>&#36923;&#36753;&#25110;</td>
</tr>
<tr>
<th>13</th>
<td><code>?:</code></td>
<td>&#19977;&#20803;&#26465;&#20214;<sup id="cite_ref-3" class="reference"><a href="c-language-operator_precedence.html#cite_note-3">[&#27880; 3]</a></sup></td>
<td style="vertical-align: top" rowspan="6">&#20174;&#21491;&#21040;&#24038;</td>
</tr>
<tr>
<th rowspan="5">14<sup id="cite_ref-4" class="reference"><a href="c-language-operator_precedence.html#cite_note-4">[&#27880; 4]</a></sup></th>
<td style="border-bottom-style: none"><code>=</code></td>
<td style="border-bottom-style: none">&#31616;&#21333;&#36171;&#20540;</td>
</tr>
<tr>
<td style="border-bottom-style: none; border-top-style: none"><code>+=</code> <code>-=</code></td>
<td style="border-bottom-style: none; border-top-style: none">&#20197;&#21644;&#21450;&#24046;&#36171;&#20540;</td>
</tr>
<tr>
<td style="border-bottom-style: none; border-top-style: none"><code>*=</code> <code>/=</code> <code>%=</code></td>
<td style="border-bottom-style: none; border-top-style: none">&#20197;&#31215;&#12289;&#21830;&#21450;&#20313;&#25968;&#36171;&#20540;</td>
</tr>
<tr>
<td style="border-bottom-style: none; border-top-style: none"><code>&lt;&lt;=</code> <code>&gt;&gt;=</code></td>
<td style="border-bottom-style: none; border-top-style: none">&#20197;&#36880;&#20301;&#24038;&#31227;&#21450;&#21491;&#31227;&#36171;&#20540;</td>
</tr>
<tr>
<td style="border-top-style: none"><code>&amp;=</code> <code>^=</code> <code>|=</code></td>
<td style="border-top-style: none">&#20197;&#36880;&#20301;&#19982;&#12289;&#24322;&#25110;&#21450;&#25110;&#36171;&#20540;</td>
</tr>
<tr>
<th>15</th>
<td><code>,</code></td>
<td>&#36887;&#21495;</td>
<td>&#20174;&#24038;&#21040;&#21491;</td>
</tr>
</table>
<ol class="references">
<li id="cite_note-1"><span class="mw-cite-backlink"><a href="c-language-operator_precedence.html#cite_ref-1">&uarr;</a></span> <span class="reference-text">&#21069;&#32512; <code>++</code> &#19982; <code>--</code> &#30340;&#36816;&#31639;&#25968;&#19981;&#33021;&#26159;&#36716;&#22411;&#12290;&#27492;&#35268;&#21017;&#22312;&#25991;&#27861;&#19978;&#31105;&#27490;&#26576;&#20123;&#34920;&#36798;&#24335;&#26412;&#26469;&#20063;&#20250;&#22312;&#35821;&#20041;&#19978;&#38750;&#27861;&#30340;&#34920;&#36798;&#24335;&#12290;&#26576;&#20123;&#32534;&#35793;&#22120;&#24573;&#30053;&#27492;&#35268;&#21017;&#24182;&#26816;&#27979;&#35821;&#20041;&#19978;&#30340;&#38750;&#27861;&#12290;</span></li>
<li id="cite_note-2"><span class="mw-cite-backlink"><a href="c-language-operator_precedence.html#cite_ref-2">&uarr;</a></span> <span class="reference-text"><code>sizeof</code> &#30340;&#36816;&#31639;&#25968;&#19981;&#33021;&#26159;&#31867;&#22411;&#36716;&#22411;&#65306;&#34920;&#36798;&#24335; <code>sizeof (int) * p</code> &#26080;&#27495;&#20041;&#22320;&#36716;&#35793;&#25104; <code>(sizeof(int)) * p</code> &#65292;&#32780;&#38750; <code>sizeof((int)*p)</code> &#12290;</span></li>
<li id="cite_note-3"><span class="mw-cite-backlink"><a href="c-language-operator_precedence.html#cite_ref-3">&uarr;</a></span> <span class="reference-text">&#26465;&#20214;&#36816;&#31639;&#31526;&#20013;&#37096;&#65288; <code><b>?</b></code> &#19982; <code><b>:</b></code> &#20043;&#38388;&#65289;&#30340;&#34920;&#36798;&#24335;&#20998;&#26512;&#20026;&#22914;&#21516;&#21152;&#25324;&#21495;&#65306;&#24573;&#30053;&#20854;&#30456;&#23545;&#20110; <code>?:</code> &#30340;&#20248;&#20808;&#32423;&#12290;</span></li>
<li id="cite_note-4"><span class="mw-cite-backlink"><a href="c-language-operator_precedence.html#cite_ref-4">&uarr;</a></span> <span class="reference-text">&#36171;&#20540;&#36816;&#31639;&#31526;&#30340;&#24038;&#36816;&#31639;&#25968;&#24517;&#39035;&#26159;&#19968;&#20803;&#65288;&#31532; 2 &#32423;&#38750;&#36716;&#22411;&#65289;&#34920;&#36798;&#24335;&#12290;&#27492;&#35268;&#21017;&#22312;&#25991;&#27861;&#19978;&#31105;&#27490;&#26576;&#20123;&#34920;&#36798;&#24335;&#26412;&#26469;&#20063;&#20250;&#22312;&#35821;&#20041;&#19978;&#38750;&#27861;&#30340;&#34920;&#36798;&#24335;&#12290;&#20174;&#32780;&#35768;&#22810;&#32534;&#35793;&#22120;&#24573;&#30053;&#27492;&#35268;&#21017;&#24182;&#22312;&#35821;&#20041;&#19978;&#26816;&#27979;&#20854;&#38750;&#27861;&#12290;&#20363;&#22914;&#65292; <span class="t-c"><span class="mw-geshi c source-c">e <span class="sy1">=</span> a <span class="sy1">&lt;</span> d <span class="sy4">?</span> a<span class="sy2">++</span> <span class="sy4">:</span> a <span class="sy1">=</span> d</span></span> &#26159;&#22240;&#27492;&#35268;&#21017;&#32780;&#26080;&#27861;&#21078;&#26512;&#30340;&#34920;&#36798;&#24335;&#12290;&#28982;&#32780;&#35768;&#22810;&#32534;&#35793;&#22120;&#24573;&#30053;&#27492;&#35268;&#21017;&#24182;&#23558;&#23427;&#21078;&#26512;&#25104; <span class="t-c"><span class="mw-geshi c source-c">e <span class="sy1">=</span> <span class="br0">(</span> <span class="br0">(</span><span class="br0">(</span>a <span class="sy1">&lt;</span> d<span class="br0">)</span> <span class="sy4">?</span> <span class="br0">(</span>a<span class="sy2">++</span><span class="br0">)</span> <span class="sy4">:</span> a<span class="br0">)</span> <span class="sy1">=</span> d <span class="br0">)</span></span></span> &#65292;&#24182;&#32473;&#20986;&#38169;&#35823;&#65292;&#22240;&#20026;&#23427;&#22312;&#35821;&#20041;&#19978;&#38750;&#27861;&#12290;</span></li>
</ol>
<p>&#20998;&#26512;&#34920;&#36798;&#24335;&#26102;&#65292;&#21015;&#20110;&#19978;&#38754;&#34920;&#20013;&#26576;&#34892;&#30340;&#36816;&#31639;&#31526;&#65292;&#23558;&#27604;&#21015;&#20110;&#20302;&#20110;&#23427;&#30340;&#34892;&#20013;&#25317;&#26377;&#36739;&#20302;&#20248;&#20808;&#32423;&#30340;&#20219;&#20309;&#36816;&#31639;&#31526;&#65292;&#26356;&#32039;&#23494;&#22320;&#32465;&#23450;&#21040;&#20854;&#21442;&#25968;&#65288;&#22914;&#21516;&#29992;&#25324;&#21495;&#65289;&#12290;&#20363;&#22914;&#65292;&#34920;&#36798;&#24335; <span class="t-c"><span class="mw-geshi c source-c"><span class="sy2">*</span>p<span class="sy2">++</span></span></span> &#34987;&#20998;&#26512;&#20026; <span class="t-c"><span class="mw-geshi c source-c"><span class="sy2">*</span><span class="br0">(</span>p<span class="sy2">++</span><span class="br0">)</span></span></span> &#65292;&#32780;&#38750; <span class="t-c"><span class="mw-geshi c source-c"><span class="br0">(</span><span class="sy2">*</span>p<span class="br0">)</span><span class="sy2">++</span></span></span> &#12290;</p>
<p>&#25317;&#26377;&#30456;&#21516;&#20248;&#20808;&#32423;&#30340;&#36816;&#31639;&#31526;&#20197;&#20854;&#32467;&#21512;&#24615;&#30340;&#26041;&#21521;&#32465;&#23450;&#21040;&#20854;&#21442;&#25968;&#12290;&#20363;&#22914;&#34920;&#36798;&#24335; <span class="t-c"><span class="mw-geshi c source-c">a <span class="sy1">=</span> b <span class="sy1">=</span> c</span></span> &#34987;&#20998;&#26512;&#20026; <span class="t-c"><span class="mw-geshi c source-c">a <span class="sy1">=</span> <span class="br0">(</span>b <span class="sy1">=</span> c<span class="br0">)</span></span></span> &#32780;&#38750; <span class="t-c"><span class="mw-geshi c source-c"><span class="br0">(</span>a <span class="sy1">=</span> b<span class="br0">)</span> <span class="sy1">=</span> c</span></span> &#65292;&#22240;&#20026;&#20174;&#21491;&#21040;&#24038;&#32467;&#21512;&#24615;&#12290;</p>
<h3><span class="mw-headline" id=".E6.B3.A8.E8.A7.A3">&#27880;&#35299;</span></h3>
<p>&#20248;&#20808;&#32423;&#21644;&#32467;&#21512;&#24615;&#19982;<a href="c-language-eval_order.html">&#27714;&#20540;&#39034;&#24207;</a>&#29420;&#31435;&#12290;</p>
<p>&#26631;&#20934;&#33258;&#36523;&#19981;&#25351;&#23450;&#20248;&#20808;&#32423;&#12290;&#23427;&#20204;&#27966;&#29983;&#33258;&#25991;&#27861;&#12290;</p>
<p>C++ &#20013;&#65292;&#26465;&#20214;&#36816;&#31639;&#31526;&#25317;&#26377;&#19982;&#36171;&#20540;&#36816;&#31639;&#31526;&#30456;&#21516;&#30340;&#20248;&#20808;&#32423;&#65292;&#32780;&#21069;&#32512; <code>++</code> &#19982; <code>--</code> &#21450;&#36171;&#20540;&#36816;&#31639;&#31526;&#26080;&#20851;&#20110;&#20854;&#36816;&#31639;&#25968;&#30340;&#38480;&#21046;&#12290;</p>
<p>&#32467;&#21512;&#24615;&#35268;&#23450;&#23545;&#20110;&#19968;&#20803;&#36816;&#31639;&#31526;&#26159;&#20887;&#20313;&#30340;&#65292;&#19988;&#21482;&#20026;&#23436;&#22791;&#32780;&#26174;&#31034;&#65306;&#19968;&#20803;&#21069;&#32512;&#36816;&#31639;&#31526;&#22987;&#32456;&#20174;&#21491;&#21040;&#24038;&#32467;&#21512;&#65288; <span class="t-c"><span class="mw-geshi c source-c"><span class="kw4">sizeof</span> <span class="sy2">++*</span>p</span></span> &#20026; <span class="t-c"><span class="mw-geshi c source-c"><span class="kw4">sizeof</span><span class="br0">(</span><span class="sy2">++</span><span class="br0">(</span><span class="sy2">*</span>p<span class="br0">)</span><span class="br0">)</span></span></span> &#65289;&#32780;&#19968;&#20803;&#21518;&#32512;&#36816;&#31639;&#31526;&#22987;&#32456;&#20174;&#24038;&#21040;&#21491;&#32467;&#21512;&#65288; <span class="t-c"><span class="mw-geshi c source-c">a<span class="br0">[</span><span class="nu0">1</span><span class="br0">]</span><span class="br0">[</span><span class="nu0">2</span><span class="br0">]</span><span class="sy2">++</span></span></span> &#20026; <span class="t-c"><span class="mw-geshi c source-c"><span class="br0">(</span><span class="br0">(</span>a<span class="br0">[</span><span class="nu0">1</span><span class="br0">]</span><span class="br0">)</span><span class="br0">[</span><span class="nu0">2</span><span class="br0">]</span><span class="br0">)</span><span class="sy2">++</span></span></span> &#65289;&#12290;&#27880;&#24847;&#32467;&#21512;&#24615;&#23545;&#25104;&#21592;&#35775;&#38382;&#36816;&#31639;&#31526;&#26377;&#24847;&#20041;&#65292;&#21363;&#20351;&#22312;&#23427;&#20204;&#19982;&#19968;&#20803;&#21518;&#32512;&#36816;&#31639;&#31526;&#32452;&#21512;&#26102;&#65306; <span class="t-c"><span class="mw-geshi c source-c">a.<span class="me1">b</span><span class="sy2">++</span></span></span> &#20998;&#26512;&#20026; <span class="t-c"><span class="mw-geshi c source-c"><span class="br0">(</span>a.<span class="me1">b</span><span class="br0">)</span><span class="sy2">++</span></span></span> &#32780;&#38750; <span class="t-c"><span class="mw-geshi c source-c">a.<span class="br0">(</span>b<span class="sy2">++</span><span class="br0">)</span></span></span> &#12290;</p>
<h3><span class="mw-headline" id=".E5.BC.95.E7.94.A8">&#24341;&#29992;</span></h3>
<div class="t-ref-std-11">
<ul>
<li>C11 &#26631;&#20934;&#65288;ISO/IEC 9899:2011&#65289;&#65306;</li>
</ul>
<dl>
<dd>
<ul>
<li>A.2.1 Expressions</li>
</ul>
</dd>
</dl>
<div class="t-ref-std-c99">
<ul>
<li>C99 &#26631;&#20934;&#65288;ISO/IEC 9899:1999&#65289;&#65306;</li>
</ul>
<dl>
<dd>
<ul>
<li>A.2.1 Expressions</li>
</ul>
</dd>
</dl>
<div class="t-ref-std-c89">
<ul>
<li>C89/C90 &#26631;&#20934;&#65288;ISO/IEC 9899:1990&#65289;&#65306;</li>
</ul>
<dl>
<dd>
<ul>
<li>A.1.2.1 Expressions</li>
</ul>
</dd>
</dl>
</div>
<h3><span class="mw-headline" id=".E5.8F.82.E9.98.85">&#21442;&#38405;</span></h3>
<p>&#36816;&#34892;&#26102;&#36816;&#31639;&#31526;&#21442;&#25968;&#30340;<a href="c-language-eval_order.html">&#27714;&#20540;&#39034;&#24207;</a>&#12290;</p>
<table class="wikitable">
<tr style="text-align:center">
<th colspan="7">&#24120;&#29992;&#36816;&#31639;&#31526;</th>
</tr>
<tr style="text-align:center">
<td><a href="c-language-operator_assignment.html">&#36171;&#20540;</a></td>
<td><a href="c-language-operator_incdec.html">&#33258;&#22686;<br />
&#33258;&#20943;</a></td>
<td><a href="c-language-operator_arithmetic.html">&#31639;&#26415;</a></td>
<td><a href="c-language-operator_logical.html">&#36923;&#36753;</a></td>
<td><a href="c-language-operator_comparison.html">&#27604;&#36739;</a></td>
<td><a href="c-language-operator_member_access.html">&#25104;&#21592;<br />
&#35775;&#38382;</a></td>
<td><a href="c-language-operator_other.html">&#20854;&#20182;</a></td>
</tr>
<tr style="text-align:center">
<td>
<p><span class="t-c"><span class="mw-geshi c source-c">a <span class="sy1">=</span> b<br />
a <span class="sy2">+</span><span class="sy1">=</span> b<br />
a <span class="sy2">-</span><span class="sy1">=</span> b<br />
a <span class="sy2">*</span><span class="sy1">=</span> b<br />
a <span class="sy2">/</span><span class="sy1">=</span> b<br />
a <span class="sy2">%</span><span class="sy1">=</span> b<br />
a <span class="sy3">&amp;</span><span class="sy1">=</span> b<br />
a <span class="sy3">|</span><span class="sy1">=</span> b<br />
a <span class="sy3">^</span><span class="sy1">=</span> b<br />
a <span class="sy1">&lt;&lt;=</span> b<br />
a <span class="sy1">&gt;&gt;=</span> b</span></span></p>
</td>
<td>
<p><span class="t-c"><span class="mw-geshi c source-c"><span class="sy2">++</span>a<br />
<span class="sy2">--</span>a<br />
a<span class="sy2">++</span><br />
a<span class="sy2">--</span></span></span></p>
</td>
<td>
<p><span class="t-c"><span class="mw-geshi c source-c"><span class="sy2">+</span>a<br />
<span class="sy2">-</span>a<br />
a <span class="sy2">+</span> b<br />
a <span class="sy2">-</span> b<br />
a <span class="sy2">*</span> b<br />
a <span class="sy2">/</span> b<br />
a <span class="sy2">%</span> b<br />
~a<br />
a <span class="sy3">&amp;</span> b<br />
a <span class="sy3">|</span> b<br />
a <span class="sy3">^</span> b<br />
a <span class="sy1">&lt;&lt;</span> b<br />
a <span class="sy1">&gt;&gt;</span> b</span></span></p>
</td>
<td>
<p><span class="t-c"><span class="mw-geshi c source-c"><span class="sy3">!</span>a<br />
a <span class="sy3">&amp;&amp;</span> b<br />
a <span class="sy3">||</span> b</span></span></p>
</td>
<td>
<p><span class="t-c"><span class="mw-geshi c source-c">a <span class="sy1">==</span> b<br />
a <span class="sy3">!</span><span class="sy1">=</span> b<br />
a <span class="sy1">&lt;</span> b<br />
a <span class="sy1">&gt;</span> b<br />
a <span class="sy1">&lt;=</span> b<br />
a <span class="sy1">&gt;=</span> b</span></span></p>
</td>
<td>
<p><span class="t-c"><span class="mw-geshi c source-c">a<span class="br0">[</span>b<span class="br0">]</span><br />
<span class="sy2">*</span>a<br />
<span class="sy3">&amp;</span>a<br />
a<span class="sy2">-</span><span class="sy1">&gt;</span>b<br />
a.<span class="me1">b</span></span></span></p>
</td>
<td>
<p><span class="t-c"><span class="mw-geshi c source-c">a<span class="br0">(</span>...<span class="br0">)</span><br />
a, b<br />
<span class="br0">(</span>type<span class="br0">)</span> a<br />
<span class="sy4">?</span> <span class="sy4">:</span><br />
<span class="kw4">sizeof</span><br />
_Alignof</span></span> <span class="t-mark-rev t-since-c11">(C11 &#36215;)</span></p>
</td>
</tr>
</table>
<table class="t-dsc-begin"></table>
</div>
</div>
</div>
<div class="visualClear"></div>
</div>
</div>
</div>
</body>
</html>