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


Please Help Members By Posting Answers For Below Questions

What is a silktest testplan?

592


can we test the application by inserting checkpoints using silktest as we do in qtp and winrunner and also what are the automation frameworks in silktest

2794


How to select a group of test cases in a testplan to run?

528


Where is a testplan stored?

553


What is 4test?

572






Is there any way of passing values at runtime? Like scanf does in C.

2148


How record a test case into a testplan automatically?

538


What is the vo browser extension?

531


How to run all test cases in a testplan?

594


What are the problems you faced while identifying an object in silk?

1853


How to download latest silk test trial version?

639


Where are the testplan attributes stored?

552


What is the dom browser extension?

562


What are testplan attributes?

562


How dom browser extension identify a web application ui object?

595