Which of the following statements is incorrect in reference to memory allocations in operating system?
1
Static memory allocation can be done by a compiler, loader or linker while readying a program for its execution
2
Static memory allocation is possible only if data sizes are known before the execution of a program is initiated
3
Static memory allocation requires memory allocation actions during program execution
4
Dynamic memory is allocated to an entity just before it is used for the first time during execution of a program