answersLogoWhite

0


Best Answer

Contiguous memory allocation in C Programming refers to the assigning of consecutive memory blocks to a process. Contiguous memory allocation is one of the oldest and most popular memory allocation schemes in programming.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is meant by contiguous memory allocation in C?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

At what time the memory is allocated for variable in c and c?

Static memory allocation occurs at compile time where as dynamic memory allocation occurs at run time.


How do you display matrix in c using dynamic memory allocation?

Memory allocation is not necessary to display a matrix.


What is the special features of pointers in c?

Dynamic memory allocation


Write a C program using dynamic memory allocation to find the sum of elements of a matrix?

Did you know that memory allocation is not needed to display the matrix? However, the C program is to find the sum of all the elements.


Who is responsible for memory allocation while dynamic allocation of memory is done?

Dynamic memory allocation is the responsibility of the application. In traditional programming languages such as C, the application must call the malloc()/free() API (or use the new and delete operators in C++) to allocate and return memory dynamically.More modern languages provide more transparent means of automatic memory allocation. Those are less error prone but can be less memory efficient, leaving the decisions about explicit allocation and return with the runtime system, rather than relying on explicit calls from the application.


How to overload the new and delete operators to provide custom dynamic allocation of memory?

You don't. Remember that C++ is a superset of the C language. You can still use the old malloc/free functions to perform your own memory allocation/deletion.


What are the storage allocation in C plus plus?

They mostly deal with pointers and new operators in memory.


A C program using dynamic memory allocation to sort n names in ascending order?

Writing a C program that uses dynamic memory allocation to sort names in ascending order is a typical computer science assignment. To write this program, you must be in UNIX.


What is the use of compiler in c language?

Compilers check correctness of your program syntax, memory allocation procedures and so on.


What is memory leaking in c plus plus?

Memory leaking in C++, or in any language that supports dynamic memory allocation, is a failure to release memory when its use is no longer required. This causes the memory image of the process to grow, sometimes without bounds, ultimately causing process failure due to memory exhaustion.


What is unmanaged heap?

The unmanaged heap is a region of memory allocated at runtime for applications in languages like C or C++. Developers are responsible for memory management, including allocation and deallocation, in the unmanaged heap. This can lead to issues like memory leaks or dangling pointers if not handled carefully.


Mention any two features omitted from java but present in c?

# Manual memory allocation/deallocation # (Semi-) direct access to registers