title: Creating large arrays in C
body: <p>My question is related to C language.
  I have to create a big array of around two million elements but the computer gives a "Segmentation fault (Core dumped)" error. I am simply saying:</p>
  
  <pre><code>int integer_array[2000000];
  float float_array[2000000];
  </code></pre>
  
  <p>I am sure this has something to do with the memory allocated to arrays but I cannot figure out the right solution.</p>