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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / jinsha
pass modes are in, out and inout. the default is in
| Is This Answer Correct ? | 0 Yes | 0 No |
What is Silktest?
What is silktest host?
Whats the difference between Basestate & Default basestate?
what is the base class for all the classes in silk?
What is the wait statement in Silktest?
Is there any way of passing values at runtime? Like scanf does in C.
What are the reasons behind silk test hanging? Is any particular problem or it is just because of system problem.?
what are agents in silk?
What are the types of text lines in a testplan file?
what is the use of exception handling in Silk Test and how to use the commands?
What statement in for test is used to transfer control of the script out of the innermost nested for, for each, while switch or selected statement?
Imagine you have a string variable that holder a credit card (16digit). There are multiple ways of obtaining last four digits of this number programmatically on a run time. Name one; for practical purpose variables name is sCCnumber?