Question: How can an array be addressed in pointer/offset notation?
Instructor answer: By initializing a pointer to point to the first element of the array, and then incrementing this pointer with the index of the array element.

Student answer: The array itself can be signed to a pointer or each element of the array can be assigned to a pointer.
Score (0-5): 3

Student answer: An array can be addressed in pointer/offset notation by setting a pointer variable equal to the variable name of the array. Elements of the array can then be accessed by adding an offset value to the pointer variable.
Score (0-5): 4.5

Student answer: Element b[ n ] can be accessed by  *( bPtr + n ).
Score (0-5): 4

Student answer: Using either the name of the array as a pointer or using a separate pointer that points to the array.
Score (0-5): 3

Student answer: An element b[3] can be referenced by using *( bPtr + 3) instead.
Score (0-5): 4

Student answer: you get the memory location of the first element and the you add an offset to it to get other elements.
Score (0-5): 5

Student answer: yes *(array +offset)
Score (0-5): 4

Student answer: The name of an array is considered to be a pointer in C++, and can be passed as such in functions parameters. Declaring int a[10]; creates a pointer "a" which stores the address of a[0].
Score (0-5): 3.5

Student answer: Element b[ n ] can be accessed by  *( bPtr + n ) is an example of how an array can be addressed as pointer/offset notation.<br>
Score (0-5): 4.5

Student answer: *(array + element)
Score (0-5): 4

Student answer: *f[3]
Score (0-5): 2.5

Student answer: you can have a pointer to the front of the array and add to the memory location (or offset from the initial value).
Score (0-5): 5

Student answer: The pointer to the array will initially point to the first element of that array.  When the pointer is incremented, it will point to the next element, and so on.
Score (0-5): 3.5

Student answer: With<br>int x[10];<br>int *xPtr;<br>xPtr = x;<br>Address &x[1] is the same as xPtr + 1.
Score (0-5): 4

Student answer: Takes the number of array elements and points to each at a time
Score (0-5): 2

Student answer: The array can act as a pointer or be referenced by a pointer.<br><br>*(arrayPtr + 3) or *(array + 3)
Score (0-5): 4

Student answer: by using the *(pointer + element-index)
Score (0-5): 4

Student answer: using the star operator. <br><br>array: b[n] can be accessed by *(bpointer +n)
Score (0-5): 4.5

Student answer: Element A[n] can be accessed by *(APtr + n)
Score (0-5): 4

Student answer: by referencing a pointer and referring to other pointers relative to the first pointer(pointer+1, pointer +2, etc)
Score (0-5): 3

Student answer: First, some pointer variable must reference the first entity in the array. Any variable in the array can then be accessed by referring to that first entity's address plus some offset. i.e.<br>ptrToArray = array;  nthEntity = *(ptrToArray + n);
Score (0-5): 5

Student answer: &[b3] is as bptr + 3.<br>Array can be treated as pointer
Score (0-5): 3.5

Student answer: a[i] = *(a+i)
Score (0-5): 4

Student answer: &b[3]<br><br>bPtr + 3
Score (0-5): 4

Student answer: *(arrayName + index)
Score (0-5): 4

Student answer: multi-dimensional array
Score (0-5): 1