In for test there are three pass modes for function
arguments. They are rarely used since pass mode always
default to the most used one. Pls name them and specify
which one is a default?
Answer Posted / pooja
The following table describes the pass modes for function
arguments.
Pass mode
in : The default. Specifies an input argument, used when
you only want to get the argument's value. Any changes made
to this argument are not reflected outside of the function.
out : Specifies an output argument, used when you only
want to set the argument's value. This argument is modified
in a function and the new value is passed back out of the
function when the function ends.
inout : Specifies an input and output argument, used when
you want to get the argument's current value and you want
the function to change that value and pass the new value
out.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are the important aspects of a test case?
What is silktest agent?
What is the dom browser extension?
How to assign attribute values to test cases?
How to create a new silktest project?
What is multi-tagging?
In SilkTest we have a function Except Log which displays the path of the error occured in a Script.In QTP do we have any function like that?
how to pass TDS intery in tally?
Want to lear from basic about silktest and how to write scripts. Please let me know if you know any website
How to create and edit a testplan?
How to define new testplan attributes?
How to open an existing silktest project?
What is silktest host?
What is defaultbasestate?
How to include a test case into a testplan?