Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

I have below user Defained function

function AddTwo(ByVal a, ByVal b)
Dim Ans
Ans=a+b
MsgBox Ans
End function
Now my question comes here...from given below methods which
method is right to call above function?Which is Wrong and why?
1. AddTwo(2,4)
2. Call AddTwo(2,4)
3. AddTwo 2,4
4. Call AddTwo 2,4

Answer Posted / sisira

 Call AddTwo(2,4)
 AddTwo 2,4
these two ans are true





Thanks
sisira

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is test case write?

1050


why text area checkpoints cannot used for web applications

2394


What is the difference between a Function and Action in QTP?

1104


What is the script for database check point, bitmapchek point, regular expression ?

2062


what is the difference btn risks & Therads in the Test plan documentation?

2129


Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.

2064


Explain how you can find length of array in qtp?

1070


Which advantages helping QTP to hold the position of "Market Leader" for such a long period?

1849


What is the basic concept of quicktest professional (qtp)?

1070


how do i know how to use tools

2008


In qtp, how you can exit for loop?

1028


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..

2319


How you can find length of array in qtp?

1034


what are the challenges you have faced while testing web based application using the automation tools ?

1149


I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com

1952