In the following Visual Basic code, what will be in msg, if str contains "visual basic"?
Dim str as StringDim msg as StringIf str.toUpper="VISUAL BASIC" msg="VB.Net"Else msg="Not Visual Basic"EndIf

In the following Visual Basic code, what will be in msg, if str contains "visual basic"?

Dim str as StringDim msg as StringIf str.toUpper="VISUAL BASIC" msg="VB.Net"Else msg="Not Visual Basic"EndIf
Correct Answer Hi

Related Questions

Comment on the output of the following C code.
#include int main(){ char *str = "This" //Line 1 char *ptr = "Program\n"; //Line 2 str = ptr; //Line 3 printf("%s, %s\n", str, ptr); //Line 4}
Find the output of the following program.
void main(){ char *msg = "hi"; printf(msg);}