#include &lt;iostream&gt;    using namespace std;    int main&#40;&#41;    &#123;        char arr&#91;20&#93;;        int i;        for&#40;i = 0; i &lt; 10; i++&#41;            *&#40;arr + i&#41; = 65 + i;        *&#40;arr + i&#41; = '\0';        cout &lt;&lt; arr;        return&#40;0&#41;;    &#125;
A. ABCDEFGHIJ
B. AAAAAAAAAA
C. JJJJJJJJ
D. none of the mentioned
Answer:A
#include &lt;iostream&gt;    using namespace std;    int main&#40;&#41;    &#123;        char arr&#91;20&#93;;        int i;        for&#40;i = 0; i &lt; 10; i++&#41;            *&#40;arr + i&#41; = 65 + i;        *&#40;arr + i&#41; = '\0';        cout &lt;&lt; arr;        return&#40;0&#41;;    &#125;
A. ABCDEFGHIJ B. AAAAAAAAAA C. JJJJJJJJ D. none of the mentioned
Explanation:Each time we are assigning 65 + i. In first iteration i = 0 and 65 is assigned. So it will print from A to J.