What will be the output of the following program when the button is clicked on?
```
Private Sub btnDisplay_Click(...) Handles btnDisplay.Click
Dim var1, var2, num As Integer
var1 = 2
var2 = 4
num = 6
Add(num)
txtBox.Text = CStr(num)
End Sub
Sub Add(ByRef num As Integer)
Dim var1, var2 As Integer
num = var1 + var2
End Sub
```
(A) 0
(B) 12
(C) 6
(D) None of the above
(A) 0
You might also like to view...
Briefly explain the difference between system testing and user acceptance testingĀ (UAT).
What will be an ideal response?
Instance variables _________ .
a) are declared inside a class b) have the scope of the entire class c) cannot be accessed by any method in the same class d) Both (a) and (b).
A(n) ________ function occurs when one function is embedded as an argument within another function
Fill in the blank(s) with correct word
_____ keys allow a user to use the arrow keys to move the pointer.?
Fill in the blank(s) with the appropriate word(s).