What will be the output of the following program when the button is clicked on?

```
Private Sub btnDisplay_Click(...) Handles btnDisplay.Click
Dim word, result As String
word = "Benjamin"
result = Rotate(word)
result = Rotate(result & word)
result = Rotate(result)
txtBox.Text = result
End Sub
Function Rotate(var As String) As String
Dim varlength As Integer
varlength = var.Length
Return var.Substring(1) & var.Substring(0, 1)
End Function
```
(A) jaminBBenjaminen
(B) BenjaminBenjamin
(C) njaminBe
(D) None of the above


(A) jaminBBenjaminen

Computer Science & Information Technology

You might also like to view...

A computer virus is an example of malware

Indicate whether the statement is true or false.

Computer Science & Information Technology

Some managers are critical of payback analysis because it places all the emphasis on early costs and benefits and ignores the benefits received after the payback period.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Graph the point.

A.
B.
C.
D.
E.

Computer Science & Information Technology

Briefly describe the purpose of using the ping command.

What will be an ideal response?

Computer Science & Information Technology