Solved

What Will Be Displayed When the Button Is Clicked On Dimx,y\operatorname { Dim } x , y

Question 37

Multiple Choice

What will be displayed when the button is clicked on? Private Sub btnDisplay_Click(...) Handles btnDisplay.Click
Dimx,y\operatorname { Dim } x , y As String
x=\mathbf { x } = "tin"
y=\mathrm { y } = "can"
Swap (x, y)
txtOutput. Text =x&""&y= x \& " "\&y
End Sub
Sub Swap (ByRef xx As String, y As String)
Dim temp As String
temp =x= \mathbf { x }
x=y\mathbf { x } = \mathbf { y }
y=\mathrm { y } = temp
End Sub


A) tin can
B) can tin
C) tin tin
D) can can

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