param and params usages in c++
<p>I am studying classes in c++ and i came across this snippet of code and i wondering what param was used for.</p>

<pre><code>// vectors: overloading operators example
#include &lt;iostream&gt;
using namespace std;

class CVector {
  public:
    int x,y;
    CVector () {};
    CVector (int,int);
    CVector operator + (CVector);
};

CVector::CVector (int a, int b) {
  x = a;
  y = b;
}

CVector CVector::operator+ (CVector param) {
  CVector temp;
  temp.x = x + param.x;
  temp.y = y + param.y;
  return (temp);
}

int main () {
  CVector a (3,1);
  CVector b (1,2);
  CVector c;
  c = a + b;
  cout &lt;&lt; c.x &lt;&lt; "," &lt;&lt; c.y;
  return 0;
}
</code></pre>
