alloc :- to allocate memory. calloc :- to free the memory.
calloc operator,malloc operator
it stores dadta in notcontiguous mode.so when we want to allocate a memory we can do it by using pointer. it stores dada in notcontiguous mode.so when we want to allocate a memory we can do it by using pointer.
A contiguous array is a data structure where elements are stored in adjacent memory locations. This allows for efficient access to elements using indexing. Contiguous arrays are commonly used in data structures like arrays and lists, as they enable fast retrieval and manipulation of elements. In algorithms, contiguous arrays can be utilized to optimize operations such as searching, sorting, and iterating through elements. This efficient utilization of contiguous arrays helps improve the performance and speed of algorithms.
1- keeping track of which parts of memory are currently being used and by whom.2- decide which process is to be loaded in memory when the space is available.3- allocate and deallocate memory space as needed.
Contiguous is a word that is used normally when objects are spatially adjacent and Continuous is a word that is normally used when events are adjacent in time. This usage is probably the reason why arrays are "contiguously" allocated and not "continuously" allocated. On the other hand, a function f(t) is "continuous" and not "contiguous".
Labels are symbolic representations used to identify memory locations in a program, while addresses are the physical locations in memory where data or instructions are stored. Labels are used by programmers for easier reference and readability, while addresses are the actual numerical values representing the locations in memory.
That would be a terabit. The unit "terabyte" is more commonly used, but each byte is actually 8 memory locations (bits).
object is an instance of a class. it's used to allocate memory dynamically at run time to access class members.
Virtual memory is used to increase the size of working memory in the system main memory by using the locations in secondary storage such as harddisk.
216 = 65536
1.keeping track of which parts of memory are currently being used and by whom. 2.decide which process is to be loaded in memory when the space is available. 3.allocate and deallocate memory space as needed.