Chapter 7 Flashcards Preview

Programming Fundamentals > Chapter 7 > Flashcards

Flashcards in Chapter 7 Deck (6)
Loading flashcards...
1

works like a variable that can store a group of values, all of the same type; values are stored contiguously

array

2

indicates the # of elements an array can hold; # inside the square brackets of an array

size declarator

3

values within an array

elements

4

used as an index to pinpoint a specific element w/in an array [range: 0 to n-1]

subscript

5

easy mistake to make bc subscripts start at zero; causes program to skip first array slot and write data beyond array's boundaries

off-by-one error

6

series of array values stored inside braces and separated by commas; values are stored in order they appear

initialization list