title: int array size changes
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1975128/sizeof-an-array-in-the-c-programming-language">Sizeof an array in the C programming language?</a>  </p>
  </blockquote>
  
  
  
  <p>Why is the size of my int array changing when passed into a function?</p>
  
  <p>I have this in my main:</p>
  
  <pre><code>int numbers[1];
  numbers[0] = 1;
  printf("numbers size %i", sizeof(numbers));
  printSize(numbers);
  return 0;
  </code></pre>
  
  <p>and this is the printSize method</p>
  
  <pre><code>void printSize(int numbers[]){
  printf("numbers size %i", sizeof(numbers));}
  </code></pre>
  
  <p>You can see that I dont do anything else to the numbers array but the size changes when it gets to the printSize method...? If I use the value of *numbers it prints the right size...?</p>