title: How to avoid "unable to read memory"
body: <p>I have a struct:</p>
  
  <pre><code>struct a {
     a(){};
     a(int one,int two): a(one),b(two){};
     int a;
     int b;
     int c;
  }
  
  a * b;
  cout &lt;&lt; b-&gt;c;
  </code></pre>
  
  <p>And sometimes when i want to read (for ex.) <code>c</code> and in debbuger this value is called </p>
  
  <blockquote>
    <p>'unable to read memory'</p>
  </blockquote>
  
  <p>Then my program crashed.</p>
  
  <p>And now, how to check that value is readable or not ?</p>
  
  <p>Best Regards.</p>