Arrays: Memory


Summary and Introduction to Arrays in Memory

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.

Take a Study Break

SparkLife

What's your Pretty Little Liars name?

Take this quiz to find out!

SparkLife

Which young actress just got married?

Click to find out!

SparkLife

Cat bearding WINS THE INTERNET

Have you seen this yet?

SparkLife

Scary movies with funny posters

These. Are. Hilarious.

Geek out!

The MindHut

Geeky Actors: Then and Now

Travel back in time!

The MindHut

Villains We Want These Actresses to Play

From super cute to super bad!

The MindHut

10 Movies Better Than Their Books

What do you think?

The MindHut

Summer Movie Open Thread

Leave your thoughts here!

The MindHut

12 Scientific Inaccuracies in Into Darkness

What did Star Trek get wrong?

The Book

Cover image

Read What You Love, Anywhere You Like

Get Our FREE NOOK Reading Apps