Solved

What Is the Syntax Error in the Following Procedure

Question 6

Multiple Choice

What is the syntax error in the following procedure?
Sub DisplayValue(Dim intNumber As Integer)
MessageBox.Show(intNumber.ToString() )
End Sub


A) intNumber cannot be converted to a string
B) the procedure's does not have a return value
C) Dim is not valid when declaring parameters
D) all of the above are true

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions