New operator is used for................. Fill in the blank
Answers
Answered by
0
New operator is used for Java
Answered by
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
English,
7 months ago
History,
7 months ago
Math,
1 year ago
Math,
1 year ago
Social Sciences,
1 year ago