Active Topics Memberlist Calendar Search Help | |
Register Login |
One Stop Testing Forum : Testing Tools @ OneStopTesting : QuickTest Pro @ OneStopTesting |
Topic: Passing by value vs Passing by reference |
|
Author | Message |
Mithi25
Senior Member Joined: 23Jun2009 Online Status: Offline Posts: 288 |
Topic: Passing by value vs Passing by reference Posted: 22Sep2009 at 2:20am |
Passing by value vs Passing by referenceHere is a QTP quiz for you. We have two functions below. For the first one, argument is passed by reference while for the second, argument is passed by value.A. Argument is passed by Reference Function learnqtp( ByRef var) B. Argument is passed by Value: Function learnqtp( ByVal var) Without copying the functions in your QTP editor, try to find:
Why do you think output differ/doesn’t differ? Give your answers in
comment below. Now, open QTP and check your answers. Any more comments?
Edited by Mithi25 - 22Sep2009 at 2:21am |
|
Post Resume: Click here to Upload your Resume & Apply for Jobs |
|
IP Logged | |
Forum Jump |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
© Vyom Technosoft Pvt. Ltd. All Rights Reserved.