title: Clarify dangling pointer in C/C++
body: <p>I'm little confusing about dangling pointer in C/C++</p>
  
  <pre><code>void remove(){
  Node* curr = new Node(10);
  Node* pt = curr;
  delete curr;
  
  // do something here
  // do other thing here
  }
  </code></pre>
  
  <p>I assume <code>Node* pt</code> is still dangling pointer before the function <code>remove()</code> is terminated?</p>
  
  <p>I don't have to worry about the pointer <code>Node* pt</code> after <code>remove()</code> is terminated?</p>