#include &lt;stdio.h&gt;    int main&#40;&#41;    &#123;        struct p        &#123;            char *name;            struct p *next;        &#125;;        struct p *ptrary&#91;10&#93;;        struct p p, q;        p.name = &quot;xyz&quot;;        p.next = NULL;        ptrary&#91;0&#93; = &amp;p;        q.name = &#40;char*&#41;malloc&#40;sizeof&#40;char&#41;*3&#41;;        strcpy&#40;q.name, p.name&#41;;        q.next = &amp;q;        ptrary&#91;1&#93; = &amp;q;        printf&#40;&quot;%s\n&quot;, ptrary&#91;1&#93;-&gt;next-&gt;next-&gt;name&#41;;    &#125;
A. Compile time error
B. Depends on the compiler.
C. Undefined behaviour
D. xyz
Answer:A
#include &lt;stdio.h&gt;    int main&#40;&#41;    &#123;        struct p        &#123;            char *name;            struct p *next;        &#125;;        struct p *ptrary&#91;10&#93;;        struct p p, q;        p.name = &quot;xyz&quot;;        p.next = NULL;        ptrary&#91;0&#93; = &amp;p;        q.name = &#40;char*&#41;malloc&#40;sizeof&#40;char&#41;*3&#41;;        strcpy&#40;q.name, p.name&#41;;        q.next = &amp;q;        ptrary&#91;1&#93; = &amp;q;        printf&#40;&quot;%s\n&quot;, ptrary&#91;1&#93;-&gt;next-&gt;next-&gt;name&#41;;    &#125;
A. Compile time error B. Depends on the compiler. C. Undefined behaviour D. xyz