Answer Posted / suresh reddy
1. Static limits the scope of an object(variable) or a
function to the file in which it being compiled.
2. A static variable retains its value between function
calls, even though its a local variable.
3. Lifetime of a static variable is the entire program.
4. We can't use extern keyword for a static object.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
What is overriding in oop?
What is the use of oops?
Why do pointers exist?
What is class and object in oops?
What is polymorphism oop?
Explain the advantages of inheritance.
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
What is object and class in oops?
What are benefits of oop?
What are oops methods?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
What exactly is polymorphism?
What makes a language oop?
Why is destructor used?