answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: How are structure elements stored in memory in c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Physics

What kind of energy transformation is taking place as the leaf-cutter ants in the photograph carry the pieces of leaves?

It’s C. Stored chemical energy -> kinetic energy


What is the Nature of neon?

Neon melts at -248.59°C (-415.46°F), boils at -246.08°C (-410.94°F), and has a density of 0.8999 g/l at 0°C (32°F). The atomic weight of neon is 20.18. It is classed as a noble gasand does not form compounds with any other elements.


How much heat do you need to melt metal?

That depends on the metal. Mercury is liquid at room temperature (melting point -39° C) Tin has a melting point of a few hundred degrees (melting point 232° C) Titanium melts at over a thousand degrees (melting point - 1668° C) Tungsten with the highest melting point of the metal elements melts at 3422 °C


What elements has smallest electron affinity C K Cl Fe?

The Answers community requested more information for this question. Please edit your question to include more context.


How a capacitor stores energy?

The energy stored in a capacitor is almost entirely in the electric field produced between the plates. It takes energy from a battery or some other power source to move electrons to one of the plates and away from the other. This makes one plate positively charged and the other negatively charged. Electric field is produced in proportion to the charge per unit area on a plate, and this electric field is said to originate on positive charges and terminate on negative charges. Energy stored in electric fields is proportional to the square of the electric field strength and the volume of the field. The energy is transferred from the power source to the electric field through the rearrangement of electrical charges.

Related questions

What is the difference between struct and union in c file management?

The main difference is in how the data structures are stored. In a union, all of the elements are stored in one location. A structure stores each of its elements in a separate memory location.


How c programs get stored in memory?

The source or the executable?


How 'free' works in c language if you want to free a structure whose elements are itself pointers?

Assuming that the structure you want to free points to OTHER structures that have been malloc'ed, you need to free any malloc'ed elements that are pointeed to by the elements in your structure. Doing otherwise will result in a memory leak. As you free the elements of the structure, make sure that the pointers are NULL, then you should be able to free the structure. If you're doing all this in a UNIX like environment, all memory structures will be freed when the application ends. If you're doing it in a Windows environment, all bets are off.


How c program gets stored in the memory?

Binary object code executable.


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.


What is an object in c?

C does not contain any built in constructs for object oriented programming. Methods and Data are generally not stored in an object structure in c.


Where is computer history stored?

Internet history is stored in a hidden directory on the computer. It is stored at the following path C:\Documents and Settings\YOURUSERNAME\Local Settings\History.


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.


Where in memory are 32-bit devers stored?

There is no specific, fixed, area of memory that a driver is stored in (this is handled by the OS as it is loaded) - However in Windows there is specific location in the file system where the device drivers are placed, this is C:\Windows\System32\DriverStore.


Where in memory are 32bits device drivers stored?

There is no specific, fixed, area of memory that a driver is stored in (this is handled by the OS as it is loaded) - However in Windows there is specific location in the file system where the device drivers are placed, this is C:\Windows\System32\DriverStore.


Where does global variables stored in C?

It depends entirely on what platform you are using. In an embedded environment, for instance global/static variables go into different RAM memory segments depending on whether or not they are initialised. constants are often left in ROM automatic variables are normally placed of the stack of the currently running task but not always.


Sizeof operator to determine the memory occupied by structure variables and pointers?

C and C++ both include the built-in sizeof() operator to do just that.