What does the keyword "static" mean?
Answers were Sorted based on User's Feedback
Answer / subhashish sen
static keyword is used with both variables and
functions.when a static variables means it retains its value
for different function calls and in C++ this variable is
used mainly for counting no. of objects of a class and it is
not confined to a particular object and for static member
functions its can only manipulate static variables and a
static member function can be invoked without an object of
class.
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / mangai
static functions are used to retain the last assigned
value...static function creates only one copy of arguments
and uses it...
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / anjana priyadharshini
Static:
static is one of the key word of the language c++.static means constant
| Is This Answer Correct ? | 1 Yes | 6 No |
what is SPL in c++.
what is Class in oops with example?
What is the difference between class and object?
Why is static class not inherited?
design class for linked list and include constructor,destructor,insert option. node of form struct node { int data; struct node &ptr; }
What is a class in oop?
What do you mean by overloading?
Why we are use # in begning of programme of c++.
can main method be overloaded...??? How..????
How long to learn object oriented programming?
why oops need in programming
some one give d clear explanation for polymorphism