Sam works as a Software Developer for GenTech Inc. He develops an application named App1 using Visual Basic .NET. App1 uses a non-COM DLL named Value1.dll, which contains unmanaged code. Sam writes a method named Method1 in Value1.dll as follows: Method1 Lib “Value1.dll”(ByVal InputVar As String, ByRef WordsVar As String, ByRef NumbersVar As Integer) As Integer Sam wants to use Method1 for parsing a string into an array of string values and an array of integers. Sam wants to enable App1 to call this function. Which of the following statements about the method are true? Each correct answer represents a complete solution. Choose all that apply.
A. The value of the first parameter cannot be changed by a procedure or a function.
B. The second parameter will contain all string values found in the first parameter.
C. The third parameter will contain all integer values found in the second parameter.
D. The third parameter will contain all string values found in the second parameter.
Answer:A
Sam works as a Software Developer for GenTech Inc. He develops an application named App1 using Visual Basic .NET. App1 uses a non-COM DLL named Value1.dll, which contains unmanaged code. Sam writes a method named Method1 in Value1.dll as follows: Method1 Lib “Value1.dll”(ByVal InputVar As String, ByRef WordsVar As String, ByRef NumbersVar As Integer) As Integer Sam wants to use Method1 for parsing a string into an array of string values and an array of integers. Sam wants to enable App1 to call this function. Which of the following statements about the method are true? Each correct answer represents a complete solution. Choose all that apply.
A. The value of the first parameter cannot be changed by a procedure or a function. B. The second parameter will contain all string values found in the first parameter. C. The third parameter will contain all integer values found in the second parameter. D. The third parameter will contain all string values found in the second parameter.