Multiple Choice
What is the value of intTotal after the following code executes?
Dim intNumber1 As Integer = 2
Dim intNumber2 As Integer = 3
Dim intTotal As Integer
IntTotal = AddSquares(intNumber1, intNumber2)
Function AddSquares(ByVal intA As Integer, ByVal intB As Integer) As Integer
IntA = intA * intA
IntB = intB * intB
Return intA + intB
IntA = 0
IntB = 0
End Function
A) 0
B) 5
C) 10
D) 13
Correct Answer:

Verified
Correct Answer:
Verified
Q6: What is the syntax error in the
Q7: All of the following are true about
Q8: Which of the following code examples is
Q9: Which of the following calls to the
Q10: Which statement is true in regard to
Q12: If you do not provide an access
Q13: Which of the following functions accepts a
Q14: Which of the following procedure declarations matches
Q15: What is assigned to <b>lblDisplay.Text</b> when the
Q16: By writing your own procedures, you can