Computer Science, asked by PragyaTbia, 1 year ago

New operator is used for................. Fill in the blank

Answers

Answered by sanjeev4176
0
New operator is used for Java
Answered by orangesquirrel
0

Answer:

New operator is used for allocation of memory for any object or variable during run time, thereby creating an instance for an object. in the programming language, C++,

In such circumstances, the variables used are the pointers to the specific memory locations in the CPU.

When it is allocated a space in the memory, the new operator returns the address of the object or variable except for cases of error. However, this cannot be used to allocate any function( assigning pointers to functions is possible though).

Similar questions