call a function N times by write N parentheses after the function
<p>I want to implement the following:</p>

<p>I define a function. And when I write <em>N</em> <code>()</code>'s after the function, the function will be called <em>N</em> times.</p>

<p>I give an example：</p>

<pre><code>#include &lt;iostream&gt;
using namespace std;

typedef void* (*c)();
typedef c (*b)();
typedef b (*a)();

a aaa()
{
    cout&lt;&lt;"Google"&lt;&lt;endl;

    return (a)aaa;
}

int main()
{
    aaa()()()();
    system("pause");
}
</code></pre>

<p>Then the output is :</p>

<p><img src="http://i.stack.imgur.com/pJEeJ.png" alt="enter image description here"></p>

<p>Are there any other methods to implement that?</p>
