πŸ“Š Visual Basics
Q. What output will be returned if the following Visual Basic code is executed?
Code:
strCityState = "Nashville, TN"
intCharIndex = strCityState.IndexOf("Tn")
  • (A) True
  • (B) False
  • (C) 11
  • (D) -1
πŸ’¬ Discuss
βœ… Correct Answer: (D) -1

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
162
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Pooja
Publisher
πŸ“ˆ
93%
Success Rate