title: C++ const used twice in static array declaration
body: <p>I have seen <code>const</code> used twice in the declaration of a <code>static</code> array before and now that I am creating my own static array I am wondering why const would be needed twice in some situations.</p>
  
  <p>Does having an array of pointers make a difference?</p>
  
  <pre><code>a. static const TYPE name[5];
  b. static const TYPE const name[5];
  
  c. static const TYPE* name[5];
  d. static const TYPE* const name[5];
  </code></pre>
  
  <p>My understanding is that <code>b.</code> is invalid, but if using const twice is valid, what is its purpose?</p>