#include&lt;stdio.h&gt;    #include&lt;stdlib.h&gt;    #include&lt;string.h&gt;                              &nbsp;    int main&#40;&#41;    &#123;        int ptr;        ptr = &#40;int&#41;malloc&#40;sizeof&#40;int&#41;*10&#41;;        return 0;    &#125;
A. syntax error
B. segmentaion fault
C. run time error
D. none of the mentioned
Answer:A
#include&lt;stdio.h&gt;    #include&lt;stdlib.h&gt;    #include&lt;string.h&gt;                              &nbsp;    int main&#40;&#41;    &#123;        int ptr;        ptr = &#40;int&#41;malloc&#40;sizeof&#40;int&#41;*10&#41;;        return 0;    &#125;
A. syntax error B. segmentaion fault C. run time error D. none of the mentioned
Explanation:The memory has been allocated but we can not access rest of the memory other than 4 bytes.