Vidyalelo
Computer Science · Q100

Visual Basic MCQs: Test Your Proficiency in Visual Basic Programming

Engineering and GATE · Computer Science · question 100

Q100

The intNums array is declared as follows: Dim intNums() As Integer = 10, 5, 7, 2. Which of the following blocks of code correctly calculates the average value stored in the array? The intTotal, intSub, and dblAvg variables contain the number 0 before the loops are processed.

Options are not available for this question.

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board