Solved

Which of the Following Code Segments Sets All Elements of the Array

Question 20

Multiple Choice

Which of the following code segments sets all elements of the array strStudentNames to the value NONE?


A) Dim intCount as Integer For intCount = 1 to (strStudentNames.Length - 1)
StrStudentNames(intCount) = "NONE"
Next intCount
B) Dim intCount as Integer For intCount = 0 to (strStudentNames.Length - 1)
StrStudentNames(intCount) = "NONE"
Next intCount
C) Dim intCount as Integer For intCount = 0 to (strStudentNames.Length)
StrStudentNames(intCount) = "NONE"
Next intCount
D) Dim intCount as Integer For intCount = 1 to (strStudentNames.Length)
StrStudentNames(intCount) = "NONE"
Next intCount

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions