When working with an array, which of the following is NOT a way you would use named constants?
A. to count the number of elements
B. to hold the size of an array
C. as the array values
D. as a subscript
Answer: D. as a subscript
Explanation : Array subscript can not be used as named constants because to access the array element need to change the value of the subscript.
Size of the array can be declared as constant.
You might also like to view...
Hashtable implement?
a. Map b. List c. Set d. Collection
When would you use a deque in preference to a vector?
What will be an ideal response?
Use a(n) ____________________ when you want to allow only one choice from a list of options.
Fill in the blank(s) with the appropriate word(s).
Which of the following writing style requires more words may make your presentation seem flat?
A) Passive voice B) Active voice C) Parallel construction D) Beginning bullets with a verb