title: Plz explain how that int *d works
body: <p>Can someone plz explain why is 40000 getting printed for d even though I initialized int *d ?</p>
  <p>{</p>
  <pre><code>int a = 2;
  int *b;
  int **c;
  int *d = 40000;
  b = &amp;a;
  c = &amp;b;
  printf(&quot;&amp;a = %d\n&quot;,&amp;a);
  printf(&quot;b = %d\n&quot;,b);
  printf(&quot;*b = %d\n&quot;,*b);
  printf(&quot;&amp;b = %d\n&quot;,&amp;b);
  printf(&quot;*(&amp;b) = %d\n&quot;,*(&amp;b));
  printf(&quot;c = %d\n&quot;,c);
  printf(&quot;*c = %d\n&quot;,*c);
  printf(&quot;**c = %d\n&quot;,**c);
  printf(&quot;d = %d\n&quot;,d);
  printf(&quot;d+1 = %d\n&quot;,d+1);
  </code></pre>
  <p>}</p>