Solved

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

Question 30

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents