answersLogoWhite

0

What is memory structure?

Updated: 12/7/2022
User Avatar

Wiki User

10y ago

Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: What is memory structure?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the dramatic structure for The Glass Menagerie?

memory play


What are the two ways of initializing a structure variable in c plus plus?

Two ways? There are at least four: 1) Zero the memory allocated to the structure. 2) Shallow-copy the memory from another structure of the same type. 3) Deep-copy the memory from another structure of the same type. 4) Set the individual members.


Explian the term memory hierachy?

This is the memory structure which the memory management layer uses to organise and separate different sets of instructions.


How do you Declare and initialized structure list different between union and structure?

C unions are also like structures. We have to allocate more memory when we use stucture.Because, memory needs to be allocated to all structure variables. Where as in Union, less memory is enough to allocate. Because, memory is allocated for only one member which occupies more memory among all members in the union. But, both have their own advantages and disadvantages.I came across one website which gives fair idea of union and structure difference and good sample programs and good explanationsC unionC structure


What is insertion in Data Structure?

it is when you put data in a form of structure on a memory disk or anything that inputs something.


What is called representation of data structure in memory?

"Abstract Data Type"


What is the brain structure called that is located near the hippocampus responsible for fear responses and memory of fear?

The brain structure responsible for fear responses and memory of fear is called the amygdala. It plays a key role in processing emotions, especially fear, and is involved in forming and storing emotional memories. The amygdala is located near the hippocampus in the temporal lobe of the brain.


How to overcome structure padding?

I think we can use #pragma pack(1) By this the structure will he paked in 1 byte order so there will be no waste of memory .


What types of transfers must a computers interconnection structure (bus) support?

The Type of transfers that must a computer interconnection structure support thats a bus is the following: (1) Memory to Processor (2) Processor to Memory (3) I/O to Processor (4) Processor to I/O (5) I/O to or from Memory


How do you copy only structure and not data?

To copy a structure you simply allocate the amount of memory required to store the structure. For simple data structures like arrays that's all you need to do (leaving the memory uninitialised or set to some default value such as zero). But for complex structures like lists, trees and graphs, you need to recreate the links between the nodes within the allocated memory. If the original structure is not allocated in contiguous memory, this can be more trouble than it is actually worth. A simpler approach would be to rebuild the structure one node at a time, using the node's default value for the data. This can be simplified further by separating the data from the structure, so that the structure simply refers to the data rather than stores the data.


Which one of the following routines measures the amount of memory used by a data structure?

fder


What are the advantages of union over structures?

union occupies a lesser memory space compared to structure as the same memory block is used for all the members in union