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:
Verified
Q18: Which of the following calls to the
Q19: When debugging a program in break mode,
Q20: Which of the following code examples is
Q21: Which of the following procedure declarations matches
Q22: Choose a new, more descriptive name for
Q24: What will be the value of dblSum
Q25: Which of the following can be returned
Q26: Which is the correct way to define
Q27: What is the syntax error in the
Q28: If you do not provide an access
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents