Q127
What will be the output of the following C code? #include void main() char *p = calloc(100, 1); p = "welcome"; printf("%s ", p);
A.
Segmentation fault
B.
Garbage
C.
Error
D.
welcome
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board