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 |
20% of a 6 litre solution and 60% of 4 litre solution are mixed what the % of mixture of solution it is resulted into?
What do we mean by a hidden argument in C++?
What is ambiguity in c++
char* ptr = "Rahul"; *ptr++; printf("%s",ptr); What will be the output
Difference between over loading and over ridding?
12 Answers CTS, Patni, Softvision Solution,
What is solid in oops?
what is function overloading..?
How oops is better than procedural?
What is the difference between pass by reference and pass by value?
What is the significance of classes in oop?
What does no cap mean?
Why is polymorphism needed?