title: why this pointer value not printed?
body: <p>i have a code:</p>
  <pre><code> #include &lt;iostream&gt;
  using namespace std;
  
  int main()
  {
      int *a, y = 6 , *yPtr = &amp;y;
  
      cout &lt;&lt; &quot;y:&quot; &lt;&lt; y &lt;&lt; &quot;| &amp;y:&quot; &lt;&lt; &amp;y &lt;&lt; &quot;| yptr:&quot; &lt;&lt; yPtr &lt;&lt; &quot;| *yptr:&quot; &lt;&lt; *yPtr &lt;&lt; &quot; | &amp;yptr:&quot; &lt;&lt; &amp;yPtr &lt;&lt; &quot; |a:&quot; &lt;&lt; a &lt;&lt; endl;
      *a = y;
      cout&lt;&lt; &quot;a:&quot;&lt;&lt;a&lt;&lt;endl;
  
      return 0;
  }
  </code></pre>
  <p>when i assign *a to y <code>*a = y</code> then *a value not printed for me</p>