Q36
What will be the output of the following C code if the input entered as first and second number is 5 and 6 respectively? #include #include main() int *p; p=(int*)calloc(3*sizeof(int)); printf("Enter first number "); scanf("%d",p); printf("Enter second number "); scanf("%d",p+2); printf("%d%d",*p,*(p+2)); free(p);
A.
56
B.
Address of the locations where the two numbers are stored
C.
57
D.
Error
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board