| | |
Static and Dynamic Memory Allocations...Advan's & Disadvan's???
Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
![]() |
•
•
Join Date: Jan 2005
Posts: 188
Reputation:
Solved Threads: 0
nah, its not homework. I've been out of school for almost 2 yrs now and haven't coded in 3. i was reading up on it for this Software Engineer position and i could only find Dynamic Memory Allocation. There was nothing on Static memory allocation. So, i made a thread up. I told you this is going to be a second home for me. Thinking about getting a computer with there's still a flat panel special at Dell
thanx a lot as usual
thanx a lot as usual
It depends on the context. If we're talking about the structure of an executable file, then it's not the same. If we're talking about variables not allocated by new or malloc, then it probably is the same. If we're talking about linkage, then get ready to be confused.
I'm still not sure I understand linkage in C and C++.
I'm still not sure I understand linkage in C and C++.
I'm here to prove you wrong.
•
•
Join Date: Dec 2004
Posts: 207
Reputation:
Solved Threads: 8
Static allocation is done at the time the program is written. The programmer reserves a set amount of memory for each use. That setting will be used each time the program runs.
Dynamic allocation is done while the program runs, adjusting the amount of memory for each use according to how much memory that use actually needs AT THIS TIME.
Dynamic allocation is done while the program runs, adjusting the amount of memory for each use according to how much memory that use actually needs AT THIS TIME.
![]() |
Similar Threads
Other Threads in the Computer Science Forum
- Previous Thread: massively multiplayer question
- Next Thread: Accessing an IP
| Thread Tools | Search this Thread |
Tag cloud for Computer Science
ai algorithm algorithms amazon assignment assignmenthelp assignments automata battery bigbrother binary bittorrent bizarre bletchleypark blogging bomb business cern compiler computer computers computerscience conversion csc data dataintepretation development dfa dissertation dissertations dissertationthesis dissertationtopic ebook employment energy floatingpoint foreclosuresoftware fuel gadgets geeks givemetehcodez government graphics hardware history homeowners homeworkassignment homeworkhelp ibm idea ideas internet iphone ipod itcontracts jobs kindle laser laws linkbait mainframes marketing mining mobileapplication msaccess nano netbeans networking news os p2p parser piracy piratebay principles programming rasterizer research sas science security sex simulation software spying stephenfry study supercomputer supercomputing syntactic technology textfield tree turing turingtest two'scompliment uk virus warehouse ww2






