What is meant byStatic Variable ?

Answer Posted / swetcha

A static can only be accessed from the function in which it
was declared, like a local variable. The static variable is
not destroyed on exit from the function, instead its value
is preserved, and becomes available again when the function
is next called. Static variables are declared as local
variables, but the declaration is preceeded by the word
static.



Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the extension of SPDS Dynamic cluster tables?

1622


How do you initialize a static member of a class with return value of some function?

670


How do you pass variables forwrd to future CECI sessions

4079


can any one suggestion me present which course(except java,.net) has huge demand in the market?

1617


what is adodb??y it is used for connection of V.B and access??what is ado?dao?

1774






Given an array of size n, containing every element from 1 to n+1, except one. Find the missing element.

645


I want to insert date in the form of yyyy-mm-dd... if any changes happen while inserting date format want to show error meg...any one can solve this..??

1659


5. How do you round the addition or subtraction of two numbers in assembler?

1774


how to check single or double byte in struts

1557


If i have a dataset queried from Sql and I would like to insert the dataset into a specific node in an xml document how do I do this

1704


what is delegate and how works delegate and event.

1769


Wrtite a JCL for sorting a file with start from 36 postion lenth 9 excluding a num eq to 98768. for 3 marks mainframe

1465


define profiler???

1606


how can we implement locks in plsql?

1791


Is the IT field raise again? What is the position of IT after 4 years?

1685