title: Size of operator return conflict
body: <p>here is some code </p>
  
  <pre><code>class DengkleTryingToSleep{
  public:
  int minDucks(int ducks[]);
  int temp(int ducks[]){
  int size=sizeof(ducks);
  cout&lt;&lt;"sizeof="&lt;&lt;size&lt;&lt;"\n";
  }
  };
  
  
  int main (int argc, const char * argv[])
  {
  DengkleTryingToSleep dt;
  int arr[]={9,3,6,4};
  
  cout&lt;&lt;"sizeof "&lt;&lt;sizeof(arr);
  cout&lt;&lt;"\nsizeof from function "&lt;&lt;dt.temp(arr);
  
  return 0; 
  }
  </code></pre>
  
  <p>and output of this is</p>
  
  <pre><code>sizeof 16
  sizeof from function sizeof=8
  </code></pre>
  
  <p>and i have no idea how this is working because it returns 16 (as expected when called inside main)
  and returns 8 when called from the function</p>