#include &lt;stdio.h&gt;    using namespace std;    int array1&#91;&#93; = &#123;1200, 200, 2300, 1230, 1543&#125;;    int array2&#91;&#93; = &#123;12, 14, 16, 18, 20&#125;;    int temp, result = 0;    int main&#40;&#41;    &#123;        for &#40;temp = 0; temp &lt; 5; temp++&#41; &#123;            result += array1&#91;temp&#93;;        &#125;        for &#40;temp = 0; temp &lt; 4; temp++&#41; &#123;            result += array2&#91;temp&#93;;        &#125;        cout &lt;&lt; result;        return 0;    &#125;
A. 6553
B. 6533
C. 6522
D. 12200
Answer:A
#include &lt;stdio.h&gt;    using namespace std;    int array1&#91;&#93; = &#123;1200, 200, 2300, 1230, 1543&#125;;    int array2&#91;&#93; = &#123;12, 14, 16, 18, 20&#125;;    int temp, result = 0;    int main&#40;&#41;    &#123;        for &#40;temp = 0; temp &lt; 5; temp++&#41; &#123;            result += array1&#91;temp&#93;;        &#125;        for &#40;temp = 0; temp &lt; 4; temp++&#41; &#123;            result += array2&#91;temp&#93;;        &#125;        cout &lt;&lt; result;        return 0;    &#125;
A. 6553 B. 6533 C. 6522 D. 12200
Explanation:In this program we are adding the every element of two arrays. Finally we got output as 6533.