MCQs > IT & Programming > VB.NET > A programmer wrote a small function to return the sum of two bytes: Public Function add(ByVal b1 As Byte, ByVal b2 As Byte) As Byte Return b1 + b2 End Function What will happen when add(200, 80) is called by the program?

VB.NET MCQs

A programmer wrote a small function to return the sum of two bytes:
  
Public Function add(ByVal b1 As Byte, ByVal b2 As Byte) As Byte
      
        Return b1 + b2
  
End Function

What will happen when add(200, 80) is called by the program?

Answer

Correct Answer: An exception will be thrown

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