chapter 7 + 8 Flashcards
anonymous type
data type in which you directly specify values in the variable declaration with no type name
enumeration type
user defined simple data type
enumerator
identifier used in an enumeration type
aggregate operation
any operation on an array that manipulates the entire array as a single unit
array
collection of a fixed number of elements (called components) in which all of the elements must be of the same data type
Array index out of bounds
the index is out of bounds if it is < 0 or > ARRAY_SIZE - 1
array index in bounds
the index is in bounds if it is >= 0 and <= ARRAY_SIZE - 1
array subscript operator
[ ]
- used to access an individual character within a string y specifying the character’s position within the square brackets
- used to access the array element at the position number contained within the square brackets
base address
the memory access of the first component in an array
character array
an array whose components are of the type char
column processing
processing of a particular column of a two-dimensional array
dynamic arrays
arrays that are created during program execution using pointers
finding the sum and average of an array
code that finds the sum and average of the values in the array
index
any expression whose value is a nonnegative integer and which is used for accessing an array component
initializing
the process of using a loop to initialize every component of the array