>}</span>
    <span class="keyword">return</span> <span class="number">0</span><span class="special">;</span>
<span class="special">}</span>

</pre>
<p>Here
    is the output of the above program:</p>
<pre class="screen">example 4: mixing types produces surprising results
Not using safe numerics
10000
4294957296
error NOT detected!
Using safe numerics
10000
error detected!converted negative value to unsigned: domain error
</pre>
<p>This solution is simple, just replace instances of <code class="computeroutp