#include &lt;stdio.h&gt;    #include &lt;string.h&gt;    int main&#40;&#41;    &#123;        char *str = &quot;x&quot;;        char c = 'x';        char ary&#91;1&#93;;        ary&#91;0&#93; = c;        printf&#40;&quot;%d %d&quot;, strlen&#40;str&#41;, strlen&#40;ary&#41;&#41;;        return 0;    &#125;
A. 1 1
B. 2 1
C. 2 2
D. 1 (undefined value)
Answer:A
#include &lt;stdio.h&gt;    #include &lt;string.h&gt;    int main&#40;&#41;    &#123;        char *str = &quot;x&quot;;        char c = 'x';        char ary&#91;1&#93;;        ary&#91;0&#93; = c;        printf&#40;&quot;%d %d&quot;, strlen&#40;str&#41;, strlen&#40;ary&#41;&#41;;        return 0;    &#125;
A. 1 1 B. 2 1 C. 2 2 D. 1 (undefined value)
Explanation:str is null terminated but ary is not.