Arrays: Memory

Problems and Solutions 2

Problem : What dimensions do you need to know to determine the value of arr[3][5][7] using only pointer arithmetic and the dereference operator (*)?

Problem : Assuming that the second dimension were SECOND and the third dimension were THIRD, calculate the value of arr[3][5][7] from the pointer arr using pointer arithmetic and the dereference operator.

Problem : As an exercise, write some code that will print out all of the integers in the integer array without ever using the square brackets to index into it. There are n integers in the array arr.

Take a Study Break

What's your Pretty Little Liars name?

Take this quiz to find out!

Which young actress just got married?

Click to find out!

Cat bearding WINS THE INTERNET

Have you seen this yet?

Scary movies with funny posters

These. Are. Hilarious.

Geeky Actors: Then and Now

Travel back in time!

Villains We Want These Actresses to Play

From super cute to super bad!

10 Movies Better Than Their Books

What do you think?