Tell about the freestore (also known as heap). What is put there? How is this done? How does a program access the freestore? What happens to memory that has been allocated but is no longer needed?

What will be an ideal response?

The freestore is a special area of memory that is reserved for dynamically allocated
variables. Any use of the operator new to allocate space will allocate from the
freestore. The run-time support package for C++ includes a freestore manager.
Operator new causes the freestore manager to allocate memory and return a pointer
to the newly allocated memory. The program that has allocated freestore memory
should return no longer needed memory to the freestore manager by use of the delete
operator on a pointer to the memory.

Computer Science & Information Technology

You might also like to view...

Which of the following protocols is the LEAST secure and should be avoided on a wireless network?

A. WEP B. PEAP C. WPA D. TKIP

Computer Science & Information Technology

__________ encryption is a form of cryptosystem in which encryption and decryption are performed using the same key.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology