title: Overloading operator ++
body: <p>Class declaration:</p>
  
  <pre><code>class unaryOperators 
  {
      public:
          int i;
  
          unaryOperators (int tempI = 0)
          {
              i = tempI;
          }
  
          unaryOperators operator++ (int);
          unaryOperators operator++ ();
  };
  </code></pre>
  
  <p>Does this global definition correspond to postfix or prefix version of the overloaded operator++? Why?</p>
  
  <pre><code>unaryOperators operator++ (unaryOperators &amp;one)
  {   
      return one; 
  }
  </code></pre>