Q. What output will be returned if the following Visual Basic code is executed?
Code:
strVisualBasic = "Sanfoundry, VB.Net"
intCharIndex = strVisualBasic.IndexOf("VB")
β
Correct Answer: (B)
12