Podcast
Questions and Answers
What does the first dimension of a string array indicate?
What does the first dimension of a string array indicate?
- Number of characters in each string
- Number of elements in the array
- Number of strings to be stored (correct)
- Number of nested arrays
What does the second dimension of a string array represent?
What does the second dimension of a string array represent?
- Number of elements in the array
- Number of characters in each string (correct)
- Number of nested arrays
- Number of strings to be stored
In a two-dimensional array, what does the single index access?
In a two-dimensional array, what does the single index access?
- Individual characters in each string
- Entire outer array (correct)
- Number of strings
- Second dimension
What is the purpose of the second dimension in a string array?
What is the purpose of the second dimension in a string array?
How are two-dimensional arrays described according to the text?
How are two-dimensional arrays described according to the text?