How to select default arguments that are passed to a function
<p>I have a program here:
I have a doubt in passing arguments to the function display().</p>

<pre><code>void display(int = 20,int = 30,int = 50);

int main()
{
    display(5,12);
    return 0;
}

void display(int i,int j,int k)
{
    cout&lt;&lt;i&lt;&lt;endl;
    cout&lt;&lt;j&lt;&lt;endl;
    cout&lt;&lt;k&lt;&lt;endl;
}
</code></pre>

<p>If this function <em>display</em> is called by passing 2 arguments to it,
how can we make sure that these arguments are treated as  first and third,
whereas second argument is default.</p>
