Default argument in c++
<p>I am new in c++ i have a question on default argument.
If there a function with a following prototype</p>

<pre><code>void f(int=10,int=20,int=30,int=40)
</code></pre>

<p>If this funcion is called by passing 2 arguments to it,how can we make sure that these argumnts are treated as first and third whereas, the second and forth are taken as defaults.</p>
