What is the difference between STATIC FUNCTION & STATIC?

Answers were Sorted based on User's Feedback



What is the difference between STATIC FUNCTION & STATIC?..

Answer / girish k.s.

static: A static variable is local to the function, test,
or compiled module in which it is declared. The variable
retains its value until the test is terminated by a Stop
command.

STATIC FUNCTION: A static function is available only to
the test or compiled module within which the function was
defined.

Is This Answer Correct ?    4 Yes 0 No

What is the difference between STATIC FUNCTION & STATIC?..

Answer / sachin

static is a keyword whic is invoked automatically.The value
of the static variable is 0.

static function is a function whic inturn helps in
accessing static variables. ONly static functions can
access the static variables

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More WinRunner Interview Questions

How to check property of specific icon is highlighted or not?

0 Answers  


what is modul? and differ btwn testing and debugging

1 Answers  


please tell me how to explain the project by taking any project (like banking product), how to start explaing?what will be the order of priority e.g.,like purpose, modules, HLDs LLDs etc., in testing point of view (as a testengineer). rightnow i can't explain my project though i've done successfully..so plz help me ..

9 Answers   HCL, IBM, ITC Infotech, Raisoni, TCS, Wipro,


How to handle exceptions in for loop of DDT script.

2 Answers  


If I do not check any of the add-ins that pops up initially, for which type of application can I do scripting?

2 Answers   Sonata,






How to break infinite loop?

0 Answers  


How to check the Back Ground Color of screen in Winrunner?

3 Answers   3i Infotech, Satyam,


Is 'public' allowed inside of the function declarations?

2 Answers   Accenture,


what is the difference between copy and call?

1 Answers  


How does winrunner Recognize Objects in an application?

1 Answers   BirlaSoft,


How we conduct Regression Testing through WinRunner

5 Answers   QA,


what are the default addin?s provided by WR

2 Answers  


Categories