unable to print char* pointing to 0
<p>here the comment2 is printed perfectly. where as comment is not printed and the
program ends as soon as it that statement is executed.
Can anybody provide solution?</p>

<pre><code>#include &lt;iostream&gt;
int main()
{
   const char * comment = 0;
   const char * comment2 = "hello this is not empty";
   std::cout &lt;&lt; std::endl;
   std::cout &lt;&lt; comment2 &lt;&lt; std::endl;
   std::cout &lt;&lt; "printing 0 const char *" &lt;&lt; std::endl;
   std::cout &lt;&lt; comment &lt;&lt; std::endl;
   std::cout &lt;&lt; "SUCCESSFUL" &lt;&lt; std::endl;
}
</code></pre>
