Predict The Output Of Following Code

#includestudio.h
#includeconio.h
#includestdlid.h
void main()
{
int *ptr;
clrscr();
ptr=malloc(15*size of(*ptr));
if(ptr!=NULL)
{
*(ptr+5)=480;
printf("Value of the 6th integer is %d",*(ptr+5));
}
getch ();
}


Posted on by