#include&lt;stdio.h&gt;   #include&lt;stdlib.h&gt;&nbsp;   int main&#40;&#41;   &#123;       int *ptr;       ptr = &#40;int *&#41;calloc&#40;1,sizeof&#40;int&#41;&#41;;       if &#40;ptr != 0&#41;           printf&#40;&quot;%d\n&quot;,*ptr&#41;;       return 0;   &#125;
A. 0
B. -1
C. garbage value
D. none of the mentioned
Answer:A
#include&lt;stdio.h&gt;   #include&lt;stdlib.h&gt;&nbsp;   int main&#40;&#41;   &#123;       int *ptr;       ptr = &#40;int *&#41;calloc&#40;1,sizeof&#40;int&#41;&#41;;       if &#40;ptr != 0&#41;           printf&#40;&quot;%d\n&quot;,*ptr&#41;;       return 0;   &#125;
A. 0 B. -1 C. garbage value D. none of the mentioned
Explanation:The memory allocated by calloc() contains 0 until process does not make any change to it.