What are the static arrays and dynamic arrays

Static arrays : The process of allocating memory at compile time is known as static memory allocation and the arrays that receives static memory allocation are called static arrays. This approach works fine as long as user know that what the data requirements are.

Dynamic arrays : The process of allocating memory at run time is known as dynamic memory allocation and the arrays that receives such kind of memory allocation are known as dynamic arrays.

Dynamic arrays are created using what are known as pointer variables and memory management functions malloccalloc and realloc.

Author: Tanmay Chakrabarty

Tanmay Chakrabarty is a former CSE student, currently working as a Senior Software Engineer with 5+ years of experience in the field of Web Application development in PHP+MySQL platform with strong skills in Javascript, JQuery, JQuery UI and CSS. He tries to write notes every week but fails due to heavy loads of duty.

Recommended Recommends

Comments

Contact Us