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 |
when my application exe is running nad i don't want to create another exe what should i do
Templates mean
What is polymorphism in oop example?
char* ptr = "Rahul"; *ptr++; printf("%s",ptr); What will be the output
write a c++ code of diagonal matrix.
What does and I oop and sksksk mean?
Given two strings like x=?hello? and y=?open?, remove any character from string x which is also used in string y, thus making the result x=?hll?.
What is coupling in oops?
Can we have a private constructor ?
12 Answers HSBC, Ness Technologies, TCS, Wipro,
In c++ there is only virtual destructors, no constructors. Why?
Is oop better than procedural?
what is difference between objects and function