A pointer greater than zero in c++, what does mean?
<p>I encountered a problem in c++. I read some codes,but there was a very wired usage of pointer. The code is following:</p>

<pre><code>   double* marginalProbability =
   new double [10 * sizeof(marginalProbability[0])];
   memset( marginalProbability, 0, 10 * sizeof(double) );
    //................
            //.................
   if(marginalProbability&gt;0)
        printf("larger");
   else
        printf("smaller");
</code></pre>

<p>The question I'm asking is what does it mean that <code>if(marginalProbability&gt;0)</code>. It is a pointer greater than zero. I think that in a normal compiler, there are no addresses which will be equal to zero. Or are there any other meanings of that? Otherwise, this line seems meaningless. Thanks.</p>
