Computer Science, asked by ps9966163, 7 months ago

what takes care of allocation and de-allocation of memory space​

Answers

Answered by henil2007
1

Answer:

Explicit Allocation

We distinguish two types of allocation:

a simple allocation reserving a block of memory of a certain size without concern of its contents;

an allocation combining the reservation of space with its initialization.

The first case is illustrated by the function new in Pascal or malloc in C. These return a pointer to a memory block (i.e. its address), through which the value stored in memory can be read or modified. The second case corresponds to the construction of values in Objective CAML, Lisp, or in object-oriented languages. Class instances in object-oriented languages are constructed by combining new with the invocation of a constructor for the class, which usually expects a number of parameters. In functional languages, constructor functions are called in places where a structural value (tuple, list, record, vector, or closure) is defined.

Explanation:

please mark as brainliest please

Answered by 6355dilipsingh
0

Answer:

allocate and de-allocate of memory space

Similar questions