This preview shows page 1. Sign up to view the full content.
Unformatted text preview: • All pointers are an address • & operator o Returns the address of its argument • * operator o Returns the data to which it is pointing to Arrays: • Every array has a data type associated with it • An array name is also a pointer to the start of an array • In C, all variables are passed by “call by value” except arrays which are passed by “call by reference” • arr[i] *(arr + i) points to the ith row in arr • arr[i]+j *((arr + i) + j) points to the [i, j]th element of arr...
View Full Document
This note was uploaded on 03/19/2012 for the course MATH MATH 304 taught by Professor Young during the Spring '09 term at Texas A&M.
- Spring '09