Types of variable declarations found in TSL function area)static&publicb)auto,static&publicc)auto,static*externd)need not be declarede)c&d

Questions by kangerishyam   answers by kangerishyam

Showing Answers 1 - 4 of 4 Answers

ravi

  • Nov 27th, 2006
 

static & public fns

  Was this answer useful?  Yes

Anitha

  • Jan 16th, 2007
 

Ans is : B

  Was this answer useful?  Yes

Jitesh

  • Jan 25th, 2007
 

auto: An auto variable can only be declared within a function and is local to that function. It exists only as long as the function is running. A new copy of the variable is created each time the function is called.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.public: A public variable can only be declared within a test or module, and is available for all functions, tests, and compiled modules.extern: An extern declaration indicates a reference to a public variable declared outside of the current test or module.Declaration Scope Lifetime Declare the variable in...Auto Local End of function function Static Local Until stop function, test, or modulePublic Global Until stop test or module Extern Global Until stop function, test, or module variables: declarations.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions