Skip over navigation

Arrays: Memory

Summary and Introduction to Arrays in Memory

Table of Contents

Terms List

By this point you should have a good sense of how to interact with arrays and how to use them in your programs. This topic of the SparkNote will explore into the low level details of how C actually handles arrays in memory. Specifically, it will cover what actually happens when you declare an array. It will shed some light on what is actually stored in an array variable. Furthermore, it should demystify some of the features of arrays, such as the fact that an array passed into a function can be modified by the function (as opposed to the function making a local copy of the variable). Finally it will clarify the relationship between strings and arrays.

Follow Us