title: How to find the 'sizeof' (a pointer pointing to an array)?
body: <p>First off, here is some code:</p>
  
  <pre><code>int main() 
  {
      int days[] = {1,2,3,4,5};
      int *ptr = days;
      printf("%u\n", sizeof(days));
      printf("%u\n", sizeof(ptr));
  
      return 0;
  }
  </code></pre>
  
  <p>Is there a way to find out the size of the array that <code>ptr</code> is pointing to (instead of just giving its size, which is four bytes on a 32-bit system)? </p>