Skip to content
0:00 / 0:00

#arrays#pointers#memory-layout

Arrays in programming - fundamentals

mycodeschool

814K subscribers • 3 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.

Beginner. No background in the topic needed.

161K views13 years ago1 recommendation

Computer scienceProgramming languagesData structuresMemory managementC

An introduction to the fundamentals of arrays and how they are stored in computer memory.

In this lesson, we will describe fundamentals of arrays in programming and how arrays are stored in computer's memory. Prerequisite: Basic knowledge of C and basic understanding of pointers in C. Go through this video to understand pointers. youtube.com/watch?v=h-HBipu_1P0&feature=youtu.be

Why it's here

1 person recommends this

What people say. Recommended as a helpful video for learning how arrays and pointers work in C.

Moments people linked to

u/nameEqualsJaredin r/C_Programming • Recommends

On “Getting better at arrays and pointers”

I liked these videos when I was learning :) The one I linked above is about arrays. He also has one titled "Pointers and Arrays" that can help to clarify the wonderful connection between pointers and arrays for ya. Would recommend. Also, just as a general tip, I think drawing pictures really helps when you are learning C. So maybe try to do something like this: * Draw a picture of an array (call it A) that is 4 integers in length, and initialized like so: {3, 4, 5, 6} * Give the values for A0, A1, A2, and A3 * Make a line like "int *q = &A", and show where that fits into your picture * Make a line like "int *z = A" and show where that fits into your picture * Show whe…
13View on Reddit