receiving warning of uninitialized local variable
<p>I am writing a program and I am trying to overload to &lt;&lt; operator. When I debug my code, i receive an error saying that p is not initialized. I feel as if i am initializing p in the for statement, but i guess i am not. cannot seem to figure out how i would initialize p. this is the code where i am receiving the error message. anyy suggestions?</p>

<pre><code>ostream &amp;operator &lt;&lt;( ostream &amp;out, const LList &amp; llist )
{

for( LList *p = p; p != 0; p = p -&gt; next )
    out &lt;&lt; p;

return out;
}
</code></pre>
