title: Operator Overloading Post Decrement
body: <p>I have to overload post decrement operator in which I have to Copy all elements of set1 into set2. After copying, decrement all elements of set1 (set2 = set1--;).
  plzz tell me how can I implement this????
  The simple post decrement operator I overloaded is as follows:</p>
  
  <pre><code>Set &amp; operator --(int) 
      {
          for(int i=0;i&lt;size;i++)
          {
              arr[i] --;
          }
          return *this;
      }
  </code></pre>