In this program the allocated memory block can store
#include<stdio.h>
#include<stdlib.h>
int main()
{
int *ptr;
ptr = malloc(10);
return 0;
}
#include<stdio.h>
#include<stdlib.h>
int main()
{
int *ptr;
ptr = malloc(10);
return 0;
}A. int
B. char
C. float
D. all of the mentioned
Answer: Option D

Join The Discussion