Which of the following is an example of static memory allocation?
Answer: D
Array is an example of static memory allocation whereas linked list, queue and stack are examples for dynamic memory allocation.