Solved

What Is Wrong with the Following GetName Procedure

Question 22

Multiple Choice

What is wrong with the following GetName procedure?
Sub GetName(ByVal strName As String)
StrName = InputBox("Enter your Name:")
End Sub


A) The procedure is missing a Return statement.
B) GetName is a reserved word and cannot be used as a name of a procedure.
C) strName will be modified, but all changes will be lost when the procedure ends.
D) The syntax for the call to InputBox is incorrect.

Correct Answer:

verifed

Verified

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

Related Questions