Keep in mind that each function also knows the type of the elements stored in each array. C can easily calculate the size of a value of any particular type. It multiplies the size of the element by the array index to determine how far to offset.

Return to lesson.