How to get the address of function?
<p>The address of function is its name with bracket. However, when I use cout to print out the address, it is wrong.</p>

<p>Assuming the function is "int function_address()" and code is such as b</p>

<pre><code>cout&lt;&lt;function_address&lt;&lt;endl;
</code></pre>