Answer the statement for the code below from the scope of Sub B: Function conjun
ID: 3641278 • Letter: A
Question
Answer the statement for the code below from the scope of Sub B:
Function conjunction(lngA As Long) As Long
conjunction = lngA
End Function
Sub B()
Dim lngB(10) As Long
MsgBox lngB(9) 'ARRAY OR FUNCTION?
MsgBox conjunction(9) 'ARRAY OR FUNCTION?
End Sub
Answer
a. lngB(9) refers to an array
conjunction(9) refers to an array
b. lngB(9) refers to an function
conjunction(9) refers to an array
c. lngB(9) refers to an array
conjunction(9) refers to an function
d. lngB(9) refers to an function
conjunction(9) refers to an function
Explanation / Answer
From the given options, the below seems to be apt. lngB(9) refers to an array conjunction(9) refers to an function