title: Where is an array variable stored in C language?
body: <pre><code>#include &lt;stdio.h&gt;
  
  int main(){
      int array[] = {1,2,3};
      printf("L00: array[0]=%d \n",array[0]);
      printf("L01: array[1]=%d \n",array[1]);
      printf("L02: array[2]=%d \n",array[2]);
      printf("L03: &amp;array[0]=%p \n",&amp;array[0]);
      printf("L04: &amp;array[1]=%p \n",&amp;array[1]);
      printf("L05: &amp;array[2]=%p \n",&amp;array[2]);
      printf("L06: array=%p \n",array);
      printf("L07: &amp;array=%p \n",&amp;array);
      return 0;
  }
  </code></pre>
  
  <p>In this program, L03,L06, and L07 show (<code>&amp;array</code>,<code>array</code>, and <code>&amp;array[0]</code>, respectively) the same memory address.</p>
  
  <p>So I'm curious about the location of the "array" as a variable in RAM.</p>
  
  <p>If there is no location of "array" in RAM, where is it? </p>