- 
					 What will be the output of the following C code?
#include <stdio.h>
struct p
{
struct p *next;
int n;
};
int main()
{
struct p *ptr1 = calloc(1, sizeof(struct p));
ptr1->n = 1;
ptr1->next = calloc(1, sizeof(struct p));
printf("%d\n", ptr1->next->n);
return 0;
} 
- 
                        
- 0
 - 1
 - Somegarbage value
 - Compilation Error
 - None of these
 
 
Correct Option: A
0