What is static memory allocation?
Compiler allocates memory spaces for a declared variables.By using the address of operator, the reserved address is obtained and this address is assigned to a pointer variable.This way of assigning pointer value to a pointer variable at compilation time is know as static memory allocation.
No comments