title: What is the maximum number of dimensions allowed for an array in C++?
body: <p>You can declare a very simple array with 10 elements and use it that way :</p>
  
  <pre><code>int myArray[10];
  myArray[4] = 3;
  std::cout &lt;&lt; myArray[4];
  </code></pre>
  
  <p>Or declare a 2d array with 10x100 elements as <code>int myArray[10][100];</code></p>
  
  <p>Even create more complicated 3-d arrays with <code>int myArray[30][50][70];</code></p>
  
  <p>I can even go as far as writing :</p>
  
  <pre><code>int complexArray[4][10][8][11][20][3];
  complexArray[3][9][5][10][15][3] = 5;
  std::cout &lt;&lt;  complexArray[3][9][5][10][15][3];
  </code></pre>
  
  <p>So, <strong>what is the maximum number of dimensions that you can use when declaring an array?</strong></p>