Dynamic Storage management
|
||||||
int_ptr = newint; |
// allocates memory for an int |
|||||
int_array = newint [100]; |
// allocates memory for |
|||||
newreturns a NULL pointer if the requested memory cannot |
||||||
delete int_ptr;
|
// releases memory pointed |
|||||
Page 11 |
C201 TAM/AGS |