+ 5
What is the diffrence between static and dynamic memory?
Please explain in cases of arrays and structures.
4 Respostas
+ 6
@Faisal Rahman
No, actually, dynamic memory is 'slower' than static memory. But they virtually offer a very large storage capacity. Thats all.
https://www.quora.com/What-is-advantages-of-array-over-dynamic-memory-allocation
https://stackoverflow.com/questions/8385322/difference-between-static-memory-allocation-and-dynamic-memory-allocation
https://stackoverflow.com/questions/1176298/best-practices-of-dynamic-vs-static-memory-in-terms-of-cleanliness-and-speed
+ 4
Static memory: We can store data permanently. it holds data until we delete it manually. secondary memory is example of static memory. example hard disc, pen drive, CD, DVD.
Dynamic memory:- it stores data temporarily. usually it is fast in speed. it is costly than static memory. it is used because it access data faster in comparison of static memory. Ram and cache is example of dynamic memory.
+ 4
@Yash Thatte
Thats what the links are for...