Q. What output will be returned if the following Visual Basic code is executed?

Code:
strVisualBasic = "Sanfoundry, VB.Net"
intCharIndex = strVisualBasic.IndexOf("VB")
  • (A) 11
  • (B) 12
  • (C) False
  • (D) True
πŸ’¬ Discuss
βœ… Correct Answer: (B) 12

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
271
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rakesh Kumar
Publisher
πŸ“ˆ
95%
Success Rate