#include &lt;stdio.h&gt;    using namespace std;    int main&#40;&#41;    &#123;        char str&#91;5&#93; = &quot;ABC&quot;;        cout &lt;&lt; str&#91;3&#93;;        cout &lt;&lt; str;        return 0;    &#125;
A. ABC
B. ABCD
C. AB
D. None of the mentioned
Answer:A
#include &lt;stdio.h&gt;    using namespace std;    int main&#40;&#41;    &#123;        char str&#91;5&#93; = &quot;ABC&quot;;        cout &lt;&lt; str&#91;3&#93;;        cout &lt;&lt; str;        return 0;    &#125;
A. ABC B. ABCD C. AB D. None of the mentioned
Explanation:We are just printing the values of first 3 values.