Question: Visual Basic 17. What will be the output of the following program when the button is clicked? (4 points) Private Sub btnDisplay_Click(...) Handles btnDisplay.click Dim
17. What will be the output of the following program when the button is clicked? (4 points) Private Sub btnDisplay_Click(...) Handles btnDisplay.click Dim varl, var2, var3, num As Intege:r varl 2 var2 4 Add (num) txtBox . Text CStr (num) = End Sub Sub Add (ByRef num As Integer) Dim varl, var2, var3 As Integer numvarl +var2 var3 End Sub
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
