#include &lt;stdio.h&gt;    typedef struct p *q;    struct p    &#123;        int x;        char y;        q ptr;    &#125;;    int main&#40;&#41;    &#123;        struct p p = &#123;1, 2, &amp;p&#125;;        printf&#40;&quot;%d\n&quot;, p.ptr-&gt;ptr-&gt;x&#41;;        return 0;    &#125;
A. Compile time error
B. Segmenation fault
C. Undefined behaviour
D. 1
Answer:A
#include &lt;stdio.h&gt;    typedef struct p *q;    struct p    &#123;        int x;        char y;        q ptr;    &#125;;    int main&#40;&#41;    &#123;        struct p p = &#123;1, 2, &amp;p&#125;;        printf&#40;&quot;%d\n&quot;, p.ptr-&gt;ptr-&gt;x&#41;;        return 0;    &#125;
A. Compile time error B. Segmenation fault C. Undefined behaviour D. 1