Something about C++ binary
<pre><code>#include &lt;iostream&gt;

using namespace std;

int main()
{
    for(int i=63;i&gt;=0;--i)
    {
        cout&lt;&lt;(((1&lt;&lt;63)+1)&amp;(/*(long long)*/1&lt;&lt;i)?"1":"0");
    }

    return 0;
}
</code></pre>

<p>Here is the result:0000000000000000000000000000000100000000000000000000000000000001</p>

<p>Well, who can tell me how does the result come?</p>

<p>I ask this question just because I am reading the "CA-2002-25" about the bug of XDR. And I want to now more about overflow in C Plus Plus.</p>
