ExamVeda
Login
Home
This question belongs to Computer Science Visual Basic
Visual Basic
?

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

Answer & Solution
Correct Answer: Option A
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.