title: c++ Final constant strings
body: <p>In Java, we can specify a string as <code>final</code> to declare 'constants'. For example</p>
  
  <pre><code>static final String myConst = "Hello";
  </code></pre>
  
  <p>Is the correct way to do this in c++ like this?</p>
  
  <pre><code>const char * const myConst = "Hello";
  </code></pre>
  
  <p>I've always seen people do this:</p>
  
  <pre><code>const char * myConst = "Hello";
  </code></pre>
  
  <p>But, actually, you can change what that pointer points to. So, why do people not declare the pointer as constant as well? What is the correct way to do it?</p>