Multiple Choice
If you do not know the size of the array needed, you can create an array large enough to hold any number of entries and tell users to enter a predetermined sentinel value after they enter the last value. Using this approach:
A) requires that you increment a counter as values are entered so that you know how many elements are stored in your array
B) is preferred to defining a static sized array.
C) requires that you dimension the array to hold at least 100 entries.
D) requires the array be defined to hold string elements.
Correct Answer:

Verified
Correct Answer:
Verified
Q19: A limitation of the foreach loop structure
Q20: Use .NET predefined methods and properties whenever
Q21: All arrays are objects of the base
Q22: Array elements are normally stored in contiguous,
Q23: Array.Copy(waterDepth, 2, w, 0, 5); <br> The
Q25: All arrays, of any type, inherit characteristics
Q26: double [ ] price = new double
Q27: When you do a compile-time initialization of
Q28: The first element of an array is
Q29: BinarySearch( ) is _.<br>A) a method in