A
Q. What will be the output?
Code:
int *p = malloc(sizeof(int) * 3);
if(p == NULL)
printf("Failed");
else
printf("Success");
if(p == NULL)
printf("Failed");
else
printf("Success");
- Correct Answer - Option(B)
- Views: 12
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.