MCQs > IT & Programming > VB.NET > You have written a simple function to multiply two integers: Line 1 Public Function multiply(ByVal a As Int32, Line 2 ByVal b As Int32) As Int32 Line 3 return (a * b) Line 4 End Function What will happen on running the program?

VB.NET MCQs

You have written a simple function to multiply two integers:

Line 1 Public Function multiply(ByVal a As Int32,
Line 2                                  ByVal b As Int32) As Int32
Line 3         return (a * b)
Line 4 End Function

What will happen on running the program?


Answer

Correct Answer: The compilation error produced will be fixed by appending "_" (underscore) to the end of line 1 

Explanation:

Note: This Question is unanswered, help us to find answer for this one

VB.NET Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

VB.NET Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it