null pointer in C++
<p>everyone, I have some question about C++, what do You actually prefer to use</p>

<pre><code>int* var = 0;

if(!var)...//1)
or
if(var == 0)..//2)
</code></pre>

<p>what are the pros and cons? thanks in advance</p>
