Pass argv[1] by reference
<p>I've an issue with passing argv to a function.  Basically, I want to pass &amp;argv[1] to the function and work from that.  However, I don't understand why the following does work:</p>

<pre><code>    void fun(char**&amp;argv, const int&amp; argc);

    int main(int argc, char** argv)
    {
            fun(++argv, --argc);
            return 0;
    }
</code></pre>

<p>yet the following doesn't work:</p>

<pre><code>    void fun(char**&amp;argv, const int&amp; argc);

    int main(int argc, char** argv)
    {
            fun(&amp;argv[1], --argc);
            return 0;
    }
</code></pre>
