I am trying to do basic addition in c++ but large numbers are showing : <p>I am tryimg to do basic addition in c++ but a large number shows instead of the number thats suposed to show.</p>

<pre><code>#include &lt;iostream&gt;

using namespace std;

int main()
{
    int x;
    int y;
    int sub = x + y;

    cout&lt;&lt;"Enter First number:"&lt;&lt;endl;
    cin&gt;&gt;x;
    cout&lt;&lt;"Enter second number:"&lt;&lt;endl;
    cin&gt;&gt;y;
    cout &lt;&lt; "The sum is: "&lt;&lt; sub &lt;&lt; endl;
    return 0;
}
</code></pre>

<p>When I run this it shows the sum as "6996596".</p>
