Static memory is allocated at program load time using information found in the program's data segment. Static memory is fixed size and stores all the program's constants, global variables and static variables.
Dynamic memory includes both the call stack and the heap (free store). Every process has at least one thread (the main thread) and each thread is allocated its own stack. A thread's stack is allocated when the thread is instantiated and released when the thread terminates. The stacks are fixed size and are used to store function local variables, function return addresses and exception handlers.
Heap memory is what we generally term dynamic memory, which is memory that is allocated and released as and when required. Since stack memory is pre-allocated, it is quicker to access since memory is allocated and released simply by adjusting the pointer that marks the top of the stack. However, because it is fixed size, it has limited capacity. We try to use the stack as much as possible for performance, but the limited capacity means it is only useful for relatively small allocations, including non-static (local) fixed size arrays. However, the stack size can be adjusted at compile time if we require more (or less) than is provided by default.
Poor boy
Dynamic memory can be declared at run-time using the new and delete operators (or malloc and free in C), while static memory must be declared at compile-time.
Dynamic memory changes and static stays the same.
static memory devices are those which stores data permanently as long as power is applied. and dynamic memory devices are those in which data is not permanently stored even with power applied,unless data is periodically rewritten into memory.
DRAM is dynamic RAM or, if you prefer, dynamic random-access memory.
dynamic memory
dynamic is the study of motin,while static is at rest it means that the memory which is used at motin time as by usic calloc,mallaoc,free function ,on the other hand static is the memory which only used at compile time or at the time of work in during progrmming,static memory has drawback ,the drawback is that in this memory ware unable to use the excess memory as we allocate already to cover or improvre this type of problem we use dynamic memory allocation.
A computer is built to contain two kinds of memory. There is static memory, which stays in the computer after it is powered off. Then there is dynamic memory, which is memory that is only accessible while the computer is on. The hard drive is an example of static memory, while RAM is an example of dynamic memory.
What is the diferences between statis ram and dynamic RAM
Dynamic memory refers to memory that is allocated and deallocated during program execution, as opposed to static memory which is allocated at compile time. In C and C++, dynamic memory allocation is done using functions like malloc() and free(), allowing for flexibility in managing memory resources at runtime. However, improper use of dynamic memory can lead to memory leaks or segmentation faults.
The maximum memory that can be dynamically allocated depends on the size of the heap memory. Dynamic blocks of memory can be allocated in system heap until it is not full.
sd ram is synchronous dynamic random access memory, ram is just random access memory