πŸ“Š Visual Basics
Q. In the following Visual Basic code, what will be in msg, if str contains "ik"?
Code:
Dim str as String
Dim  msg as String
If str.toUpper="IK" 
   msg="Hi"
Else
   msg="Bye"
EndIf
  • (A) Hi
  • (B) Bye
  • (C) Compiler Error
  • (D) Logical Error
πŸ’¬ Discuss
βœ… Correct Answer: (A) Hi

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
144
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Ritu Nagar
Publisher
πŸ“ˆ
84%
Success Rate