Q743
What is the output of this program? #include #include #include int main() char *ptr; memcpy(ptr,"example",11); printf("%s ",ptr); return 0;
A.
example
B.
segmentation fault
AnswerC.
syntax error
D.
none of the mentioned
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board