title: C++: I'm using a[] , which memory I'm using?
body: <pre><code>#include &lt;iostream&gt;
  #include &lt;cstdlib&gt;
  
  using namespace std;
  
  /* run this program using the console pauser or add your own getch, system("pause") or input loop */
  
  int main(int argc, char** argv) {
      int a[4]; 
  }
  </code></pre>
  
  <p>I'm doing static allocation, right? So, where's located a? Stack or Heap?</p>