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
I want Ada programming language books. Could anyone post me any link for that?
How to print No.of.rows affected after updation using ADO.Net
how pseudo column works?
what is the diff bw sql direct and jdbc update can't we do select and updating operation in sql direct
Write a program to show polymorphism.
How do you initialize a static member of a class with return value of some function?
I am looking for NIC Sample papers or any patern of questions/ syllabus plz, send me on hamid.khan135@yahoo.in Regard
Given a cube of size n*n*n (i.e made up of n^3 smaller cubes), find the number of smaller cubes on the surface. Extend this to k-dimension.
what is the purpose of checked Menu options
what is the similarity between networking devices?
when we use mantis? how learn mantis?
how to add a new table with variables and thier values into a imported file uisng proc import?
purpose of abstraction and interface
what is the main usage of an abstract keyword?please follow the program class A { void display() { System.out.println("hai"); } void print() { } } class B extends A { void print() { System.out.println("Hello"); } } In this program i was gives the implementation of print() according to my requirements in subclass.And there is no definition in superclass then why we can use abstract keyword before a method that i want to gives definition in other classes,is any mistakes in the above usage of method?
which book we learned this mantis? how many version are realsed this mantis upto now?