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 are main features of oop?
WHY FUCTION OVERLOADING DOSENOT RETURN A RETEN TYPE
how to swap to variables without using thrid variable in java?
what is the use of template classes in c++
what is an qt4 interface?
Why is polymorphism used?
what is diff between .net 1.1 and .net 2.0
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
Write a c++ program to display pass and fail for three student using static member function
what is the use of mutable key word
What is virtual destructor? Why?
3 Answers Agile Software, College School Exams Tests, CSC,
Precompilation ?