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 |
Why is polymorphism needed?
Are polymorphisms mutations?
what is the definition of incapsulation
c++ is a purely oop concept?
In the following declaration of main, "int main(int argc, char *argv[])", to what does argv[0] usually correspond? 1) The first argument passed into the program 2) The program name 3) You can't define main like that
write a program that takes input in digits and display the result in words from 1 to 1000
what are the characteristics of oops?
What is the default size allocated for array in the statement if size not specified " int a[] "
why we are declare the function in the abstract class even though we are declaring it in Derived class?
why we call c++ is object oriented lanaguage
WILL I GET A guaranteed JOB AFTER DOING bsc()IT) and GNIIT from an NIIT CENTRE??
21 Answers Biocon, MIT, NIIT,
tel me oops defination in single line