malloc
alloc :- to allocate memory. calloc :- to free the memory.
To dynamically allocate memory, use the following function (stdlib.h I believe): int *variable1 = malloc(sizeof(int));
The free() function releases memory obtained with the malloc() family of functions. The delete and delete [] operators release memory obtained with the new operator. Note: realloc() can allocate and free memories as well as reallocate.
In Java we need not allocate memory manually. The JVM would take care of allocating as much memory that your objects would require automatically.
MS-DOS does not have built-in memory management.
The C++ new uses malloc internally to allocate memory and the C++ delete uses free internally to revoke memory. However, they are not interchangeable and so memory allocated with new MUST be revoked with delete. If you mix them up, you will have a memory leak! Haya.
Compilation time.
7000mb may be
Nothing, malloc does allocate memory from the heap.
New and Delete are the memory management operators in c++,like c language we use malloc() and calloc() functions to allocate memory and free() functiong to release the memory similarily we use new to allocate memory in C++ and Delete to release the allocated memory....
No, because the O/S call to allocate memory can allocate either physical memory OR swap file space. It's under O/S control, not the application.