Q985
What is the output of this program? #include #include int main() int *ptr; *ptr = 10; *ptr = 20; printf("%d ",*ptr); return 0;
A.
10
B.
20
C.
segmentation fault
AnswerD.
none of the mentioned
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board