SparkNotes Shopping Cart  |     |  Checkout
Brought to you by Barnes and Noble
  Home : Math & Science : Computer Science Study Guides : Arrays : Memory : Problems and Solutions 2
Arrays and Memory
  
 
Problems and Solutions 2
Problem 2.1: What dimensions do you need to know to determine the value of arr[3][5][7] using only pointer arithmetic and the dereference operator (*)? [Solution]
Problem 2.2: 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. [Solution]
Problem 2.3: 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. [Solution]
Help | Feedback | Make a request | Report an error | Send to a friend
 
For students sick of scribbling geometry concepts on index cards, SparkNotes Study Cards are the answer.
More...
 
Get clear, concise lessons from No Fear Math and get caught up.
More...
 
 
Go to top