�不定的。比如：</p>
<pre class="EnlighterJSRAW" data-enlighter-language="c">signed char x = 0x7f;
signed char y = 0x05;
signed char r = x * y;
printf(&#34;%d\n&#34;, r);</pre>
<p>上面的代码会输出：123</p>
<p>相信对于这些大家不会陌生了。</p>
<h4><span class="ez-toc-section" id="%E6%95%B4%E5%9E%8B%E6%BA%A2%E5%87%BA%E7%9A%84%E5%8D%B1%E5%AE%B3"></span>整型溢出的危害<span class="ez-toc-section-end"></span></h4>
<p>下面说一下，整型溢出的危害。</p>
<h5><span class