Computer Science - Computer Fundamentals - Discussion
Discussion Forum : Computer Fundamentals - Section 2 (Q.No. 35)
35.
A memory that does not change its contents without external causes is known as
Discussion:
4 comments Page 1 of 1.
Biswa ranjan ghadei. said:
1 decade ago
Static Allocation means, that the memory for your variables is automatically allocated, either on the Stack or in other sections of your program. You do not have to reserve extra memory using them, but on the other hand, have also no control over the lifetime of this memory.
Example: A variable in a function, is only there until the function finishes.
Dynamic memory allocation is a bit different. You now control the exact size and the lifetime of these memory locations. If you don't free it, you'll run into memory leaks, which may cause your application to crash, since it, at some point cannot allocation more memory.
Example: A variable in a function, is only there until the function finishes.
Dynamic memory allocation is a bit different. You now control the exact size and the lifetime of these memory locations. If you don't free it, you'll run into memory leaks, which may cause your application to crash, since it, at some point cannot allocation more memory.
Ashok Arya said:
9 years ago
Dynamic means movable (RAM) and (hard disk) and another storage devise.
Static means not movable (ROM).
EEPROM is a special type of ROM because we can erase data of this ROM using electricity, and then also can write a program on it, as our need. That's why called EEPROM (Electrically Erasable Programmable Read Only Memory).
Static means not movable (ROM).
EEPROM is a special type of ROM because we can erase data of this ROM using electricity, and then also can write a program on it, as our need. That's why called EEPROM (Electrically Erasable Programmable Read Only Memory).
Vishal mohan said:
1 decade ago
Static as single, as example first page of facebook same in each system but other page of other website change in each system, so static means defines any thing by only one way and dynamic means many way as.
Abimbola said:
1 decade ago
What you mean by static and dynamic memory?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers