answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: How the new keyword allocates memory?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How the new operator works in java?

1. It is the only way to create object. 2. New is a keyword. 3. New operator allocates memory for an object. 4. It is a bit faster and clever way of creating objects or instances.


What keyword is using to create objects?

In C# and Visual Basic.NET the keyword is "new". C doesn't have such an animal, but you generally use the library call to malloc to get new memory.


Who allocates the memory?

Allocation is performed by OS while memory detection is done by BIOS.


This key word causes an object to be created in memory?

To instantiate a object, we use the new keyword in Java, which creates an object in memory.


Which keyword do you use to deallocate memory that has been assigned to a stream object?

Delete keyword


Difference between contiguous and non contiguous memory?

In contiguous allocation there is no overhead during execution of a program. In noncontiguous allocation address translation is performed during execution Contiguous memory allocates single area of memory Noncontigious memory allocates several memory areas - one memory are to each component of a process


Roles of kernel in an operating system?

part of OS that allocates memory,CPU and other resources


How memory allocates for node in data structures?

I guess it's functions malloc and free, what are you thinking of.


What is name for memory is a concept in which the operating system allocates a portion of a storage medium to function as additional RAM?

It is commonly called "virtual memory".


What is the Difference between override and new keyword in C?

An override is the specialisation of a virtual function. The new keyword instantiates an instance of an object in dynamic memory and returns a reference to that object (or null if the object could be instantiated). Both are used in C++, but not C.


You can determine the amount of memory a device driver allocates for itself and its data by using what command?

You can determine the amount of memory a device driver allocates for itself and its data by using the MEM command with the \M filename option.A+ Guide to software fourth edition page 311


How would you define variable in c?

variable is a name that allocates the memory space where you store some data Hardly. Names do not allocate memory space *sigh*