Undefined parameters in function
<pre><code>#include &lt;iostream&gt;

using namespace std;

class Imp
{
    public:
        int X(int) {return 50;}
        int Y(int y) {return y;}
};

int main()
{
    Imp i;
    cout &lt;&lt; i.X(100) &lt;&lt; endl;

    return 0;
}
</code></pre>

<p>This code works and prints out 50. My question is what happens to the argument passed? Just out of curiosity. :)</p>
