answersLogoWhite

0


Best Answer

It's actually not true. In order to make a good program which can work with big arrays you have to use dynamic arrays because you can cleam memory used by dymanic arrays any time. For static arrays is not true, memery which was reserved for static arrays will be available for other applications only when you finish working with your application (which is working with static arrays).

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Dynamically allocated array waste storage and time?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Do nuclear power plants have nuclear waste?

Yes, and a lot of it too! There is no permanent storage so they put the casks in a pool of boric acid so the waste can cool down. A problem is that the pools are becoming overcrowded and people need to fine a permanent storage instead of a temporary one..They found a place in Yucca Mountain a while back ago and i dont know what has happened since but it was supposed to be 1500 feet underground (personally i think thats not enough). A lot of questions have come up though. One of them being if the waste can be shot into space. I think we've messed up Earth enough so why mess up space?


How do you write a program for counting and displaying occurrence of a number in an array?

Your first step is accepting input, which is done using the scanf() function:scanf("%d", &number);This means that you want scanf() to accept input, convert the input to a number, and store it in the memory at the address of number.Use a for() loop, counting from 0 to 9, and an array of integers to hold the numbers. Then simply scanf("%d", &intarray[counter]);The next step is a little tricky, but not very if you plan it out in advance.Each integer can contain 256, 65,536 or 4,294,967,296 different numbers. Creating an array to hold the count of each of those numbers is a waste of RAM.Instead, you'll want an "associative" array as follows:int numcount[MAXNUM][2];MAXNUM is 10, or the number of integers in the array you're checking. The second dimension, 2, consists of the number and its count.Obviously, you'll want a way to keep track of how many integers you've stored in numcount. An int called numcountnuminitialized to 0 would be the fastest way.Use a for() loop to iterate through the integers. If the integer does not exist in numcount, then set numcount[numcountnum][0] to the integer, set numcount[numcountnum][1] to 1, and increment numcountnum. Otherwise, if the integer exists, increase numcount[the integer index][1].Once the for() loop is finished, display the results. The only thing you have left to figure out is the function that searches the numcount array for an integer, and returns its index (or -1 if it's not found).


What do nuclear power plants do with their waste products?

Nuclear waste can be divided into two types, high level, and low level. Low level nuclear waste is materials that have been exposed to nuclear materials, such as tritiated water, pieces of contaminated clothing, contaminated tools, materials that have been in the nuclear reactor or with the high level waste, earth that has had contaminated water soak into it, and so on. Some of these are stored at the plant, and others are shipped off to low level waste storage facilities. They are separated according to need. Some may need to be stored for a period of decades or centuries while the materials in them decays, and others may need to be stored for centuries. High level waste needs to cool off before anything can be done with it, so when it is removed from a reactor, it is put into a spent fuel pool where it is cooled with water while the short term isotopes in it decay to the point that they do not give off too much heat. This takes several years. At that point, the waste may be moved to what is called dry cask storage, where it is held until someone decides what to do with it on a more permanent basis. Some countries allow waste to be reprocessed and some do not. The United States does not, and since no one has figured out how to store waste over a long term, the waste accumulates at the plants that produced it. This is not a good solution because the plants are nearly all sitting on the shore or on river or lake banks, where they are exposed to some degree. The French have been very aggressive with reprocessing nuclear waste, and do it for a number of other countries. This is fine, except that the reprocessing has its own set of possibilities of disaster, the very reason the United States does not allow reprocessing. There are technologies being developed, such as energy amplifiers or accelerator driven systems, that may be able to use the nuclear waste as an energy source, reducing it to radiologically inert material in the process. We do not know if this will work.


Process of making paper?

Paper can be made as a primary raw material wood,bagasse (sugarcane waste). Wood is supposed to cook in a pressure vessel called DIGESTER.Then it is subjected to > cleaning screening brown stock washing bleaching storage paper machine PAPER


Is there a substitute for uranium for nuclear reactors?

Only plutonium! Is that any better?Actually all the transuranics can make suitable fuel for nuclear reactors, especially Americium. The Integral Fast Breeder(IFB) reactor was designed to reprocess Uranium and all the transuranics produced into fuel rods onsite, leaving only the short lived fission products as waste, which would only require storage for a couple centuries (not hundreds of thousands of years as current waste with the transuranics still in it does). Some of these fission products have industrial and/or medical uses and would be worth separating from the waste.

Related questions

How do you draw an array to solve a problem?

The answer will depend on what the problem is: some can be solved using an array but for others, arrays are a complete waste of time.


What cell Are temporary storage compartments that sometimes store waste?

Vacuoles are temporary storage compartments that sometimes store waste.


What storage structures for water food and waste?

taproot


What are storage tanks for food water and waste?

vacuole


What has the author J E Mendel written?

J. E Mendel has written: 'The storage and disposal of radioactive waste as glass in canisters' -- subject(s): Glass waste, Radioactive wastes, Nuclear facilities, Storage, Waste disposal


What is the name of the Defunct nuclear waste storage site in Nevada?

It is the Yucca Mountain Nuclear Waste Repository.


What country is the only country currently looking into permanent waste storage for nuclear waste?

a dumb country


The water and waste storage sacs in a cell are called?

vacuoles


What organelle can be used for storage of waste products?

The organelle that can be used for storage of waste products is called the lysosome. The lysosome also contains chemicals that break down old cell parts.


Which type of storage facility is assumed to be safe for long-term storage of nuclear waste products?

salt mines


What provides temporary storage of enzymes and waste products?

In cells, the vesicles provide temporary storage of food enzymes and waste products. A vesicle is formed when the cell membrane bulges out and pinches off.


What provides temportary storage of food enzymes and waste products?

vacuoles