what is the advantage of INOUT parameter over OUT parameter?

Answers were Sorted based on User's Feedback



what is the advantage of INOUT parameter over OUT parameter?..

Answer / m.hema kumar

inout parameter means same parameter can be used as input
and output parameter,out parameter means that it can be
used for only displaying out put.
example:
public function name(in a,inout b)
{
a=1;
b=2;
}
printf(b);
answer:3

Is This Answer Correct ?    0 Yes 0 No

what is the advantage of INOUT parameter over OUT parameter?..

Answer / shobha

that will be used in Data Driven test.
if we r passing only input for testing from
(wordpad,notepad,xcel sheet)it is called parameter.
if we r want only out to print in(wordpad,...)it is called
OUT parameter,
if we want both in&out to read&print in(wordpad,...)it is
called INOUT parameter.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WinRunner Interview Questions

How to set a value in to a data table from the script in winrunner?

1 Answers   Accenture,


What is the automation process in winrunner?

3 Answers   Second Foundation,


what is qtp licence

0 Answers  


Define parameterizing?

0 Answers  


Suppose there is a global variable called Counter.And there is a user defined function called my_function.which does not take in any parameters. How can a test engineer utilize Counter inside my_function body?

1 Answers   FCG,






in which file Data of a Table is stored for further analysis

1 Answers  


Explain the purpose of gui map configuration?

0 Answers  


If u press a push button in an application the winrunner generates tsl statement like button_press(..) i.e the class name of the object and the event on that object but Why if u click a static text in an application the winrunner generates tsl statemen like win_mouse_click rather than the statement with combination of classname and event..??

2 Answers   Accenture,


If the data is stored in Excel sheet(2nd and 3rd), how to access it for Data Driven test; Ex: table = "c:\demo.xls" How to access 2nd or 3rd sheet data id demo.xls flie.

1 Answers   MBT,


How do you create a new expected results in winrunner?

1 Answers   Accenture,


How many Record Methods are there in Winrunner?

6 Answers   Accenture, Indicus Software,


what is software metrics

1 Answers   IBM,


Categories