#include &lt;iostream&gt;    using namespace std;    int main &#40;&#41;    &#123;        int a, b;                 a = 10;                   b = 4;                    a = b;                   b = 7;                   cout &lt;&lt; &quot;a:&quot;;        cout &lt;&lt; a;        cout &lt;&lt; &quot; b:&quot;;        cout &lt;&lt; b;        return 0;    &#125;
A. a:4 b:7
B. a:10 b:4
C. a:4 b:10
D. None of the mentioned
Answer:A
#include &lt;iostream&gt;    using namespace std;    int main &#40;&#41;    &#123;        int a, b;                 a = 10;                   b = 4;                    a = b;                   b = 7;                   cout &lt;&lt; &quot;a:&quot;;        cout &lt;&lt; a;        cout &lt;&lt; &quot; b:&quot;;        cout &lt;&lt; b;        return 0;    &#125;
A. a:4 b:7 B. a:10 b:4 C. a:4 b:10 D. None of the mentioned
Explanation:In this program, we are reassigning the values of a and b because of this we got the output as a:4 b:7