Multiple choice

What will be the output of the following code segment? Static Function trial( ) As String Static i As String Dim d As Double i = A trial = i End Function Private Sub Command1_Click( ) Dim res As Integer res = Val(trial()) Print res End Sub

  1. A

  2. 0

  3. Error

  4. No output

Reveal answer Fill a bubble to check yourself
B Correct answer