dynamic memory allocation in C
- by avanish
int main()
{
int p;
scanf("%d",&p);
fun()
{
int arr[p]; //isn't this similar to dynamic memory allocation??
}
}
//if not then what other objective is achieved using malloc and calloc??
//Someone please throw some light :-)