Q194
What is the output of this program? #include #include #include int main() int ptr; ptr = (int)malloc(sizeof(int)*10); return 0;
A.
syntax error
B.
segmentaion fault
C.
run time error
D.
none of the mentioned
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board