Question: Question 1 1 What is incorrect about the following function? Function sum ( ByVal intX As Integer, ByVal inty As Integer ) As Integer Din

Question 11
What is incorrect about the following function?
Function sum(ByVal intX As Integer, ByVal inty As Integer) As Integer
Din intans As Integer
intAns = int +nt
End Function
intAns should not be declared inside the Function
the function does not return a value
the as Integer at the end of the Function heading should be eliminated
parameters intA and intB should be declared as ByRef
Moving to another question will save this response.
 Question 11 What is incorrect about the following function? Function sum(ByVal

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!