#include &lt;iostream&gt;    using namespace std;    int main&#40;&#41;    &#123;        char *ptr;        char Str&#91;&#93; = &quot;abcdefg&quot;;        ptr = Str;        ptr += 5;        cout &lt;&lt; ptr;        return 0;    &#125;
A. fg
B. cdef
C. defg
D. abcd
Answer:A
#include &lt;iostream&gt;    using namespace std;    int main&#40;&#41;    &#123;        char *ptr;        char Str&#91;&#93; = &quot;abcdefg&quot;;        ptr = Str;        ptr += 5;        cout &lt;&lt; ptr;        return 0;    &#125;
A. fg B. cdef C. defg D. abcd
Explanation:Pointer ptr points to string ‘fg’. So it prints fg.