title: Overload operator '+' to add two arrays in C++
body: <p>I want to add two arrays by simply writing: </p>
  
  <pre><code>int a[4] = {1,2,3,4};
  int b[4] = {2,1,3,1};
  int sum[4] = a + b;
  </code></pre>
  
  <p>I wrote this function but I got an error</p>
  
  <pre><code>int* operator+(const uint32&amp; other) const{
      uint32 sum[n];
      for(int i=0; i&lt;n; i++){
          sum[i] = (*this[i]) + other[i];
      }
      return sum;
  }
  </code></pre>
  
  <p>Could you help me on this? Thanks in advance.</p>