Multiple Choice Question (MCQ)
Question:
What will be the output of the following VBA code?
Sub test()
Dim S AS string
S = 'wholehearted'
Debug.Print mid(s,6,4)
End sub
A.
arte
B.
hear
C.
hole
D.
eart
Correct Answer: hear