title: How to make uninitiated pointer not equal to 0/null?
body: <p>I am a c++ learner. Others told me "uninitiatied pointer may point to anywhere". How to prove that by code.?I made a little test code but my uninitiatied pointer always point to 0. In which case it does not point to 0? Thanks</p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  int main() {
      int* p;
      printf("%d\n", p);
      char* p1;
      printf("%d\n", p1);
      return 0;
  }
  </code></pre>