Answer :
The declaration and specification of the memory must be thoroughly specified in the source code for static memory allocation.
For static memory allocation, the declaration and specification of the memory must be fully specified in the source code.
It is a portion of the main memory, or the heap memory. When you need to use it or release it, it is not organized and is handled as a resource. A pointer cannot be used to access heap memory directly.
Stack Memory: This is where function-created temporary variables are kept. Variables in a stack are created, saved, and initialized while the programme is running. It adheres to the First in Last out principle, which states that whatever element is stored last will be deleted first when it is no longer needed.
Know more about memory allocation here:
https://brainly.com/question/14365233
#SPJ4