Interview Questions   Tutorials   Discussions   Programs   Videos   

QTP - Write a function which returns the addition of two numbers? give the value of the numbers outside the function?




507
views
asked marvit October 10, 2014 10:13 AM  

Write a function which returns the addition of two numbers? give the value of the numbers outside the function?


           

1 Answers



 
answered By Hitesh-1047   0  

C= AddNumber(10,20)

Public Function AddNumber(ByVal a,ByVal b)

  Dim c 

  c = a+b

  AddNumber = c

End Function

flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert