Solved

What Will Be the Output of the Following Program When ==

Question 33

Multiple Choice

What will be the output of the following program when the button is clicked on? Private Sub btnDisplay_Click(...) Handles btnDisplay.Click

Dim word As String
word = "hai rbrush"
Decapitate (word)
txtBox. Text == word
End Sab

Sub Decapitate (ByRef word As String)
' Chop the first letter off the word.
word = word. Substring (1)
End Sab


A) airbrush
B) hairbrush
C) hairbrus
D) h

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