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 virtual function?where and when is it used?
advantage and disadvantage in c++>>oops and what are the questions ask for interview in c++>>oops. could you tell me or reply me
what is opps?why it is use in programming language?
Why multiple inheritance is not possible?
what is the use of template classes in c++
Program to check whether a word starts with a capital letter or not.
inheritence with example
How do you define social class?
what is the main difference between sizeof() operator in c and c++
me get an assignent n its question is this 1.creat a set as in math i.ea={1,2} 2.insert element in it3. delete element don,t repeat any element 4.union 5. intersection of two sets plz help me i always pray for u n send me at ayeshawzd@hotmail.com f u have c++ how to program 5th addition then it is the 10.9 question in 10th chapter exercise
State what is encapsulation and friend function?
Please send ford technologies placement paper 2 my mail id