Vidyalelo
Visual Basic · Q437

Visual Basic MCQs: Test Your Proficiency in Visual Basic Programming

Programming · Visual Basic · question 437

Q437

In the following Visual Basic code, what will be in msg, if str contains "ik"? Dim str as String Dim msg as String If str.toUpper="IK" msg="Hi" Else msg="Bye" EndIf

A.
Hi
Answer
B.
Bye
C.
Compiler Error
D.
Logical Error

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board