Q430
In which condition this program will print the string "Example"? #include #include int main() int *ptr; ptr = (int *)malloc(sizeof(int)*10); if (ptr == NULL) printf("Example "); return 0;
A.
if the memory could not be allocated to the pointer "ptr"
AnswerB.
if the memory has been allocated to the pointer "ptr" example
C.
it will never print
D.
none of the mentioned
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board