<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Negation - Page 22 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=negation&amp;p=21">1.Previous</a><br />
<a accesskey="3" href="page.php?w=negation&amp;p=23">3.Next</a>
</p>
<p>is used as an <a href="page.php?w=Programming_idiom">idiom</a> to convert <code>x</code> to a canonical Boolean, ie. an integer with a value of either 0 or 1 and no other. Although any integer other than 0 is logically true in C and 1 is not special in this regard, it is sometimes important to ensure that a canonical value is used, for example for printing or if the number is subsequently used for arithmetic operations.	</p>

<p><big>Usage in colloquial language</big></p>
<p>The convention of using <code>!</code> to signify negation occasionally surfaces</p><p>
<a accesskey="1" href="page.php?w=negation&amp;p=21">1.Previous</a><br />
<a accesskey="3" href="page.php?w=negation&amp;p=23">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
