What does the keyword "static" mean?

Answers were Sorted based on User's Feedback



What does the keyword "static" mean?..

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

What does the keyword "static" mean?..

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

What does the keyword "static" mean?..

Answer / poornima.r

static means constant

Is This Answer Correct ?    0 Yes 4 No

What does the keyword "static" mean?..

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

Post New Answer

More OOPS Interview Questions

what is virtual function?

26 Answers   Aspire, HP, Infosys, RoboSoft, TCS,


What are the access specifiers avaible in c++?

4 Answers  


what is oppes

2 Answers  


why function overloading is not called as pure polymorphism?

2 Answers  


What is the real time example of inheritance?

0 Answers  






What is overriding in oop?

0 Answers  


Why do we use oops?

0 Answers  


what about you? wahat is your object? introduce your self?

1 Answers   Ajmal Perfumes, TCS,


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

2 Answers  


What is Method overloading?

5 Answers  


What is Agile methodology?

20 Answers   ABC, Accenture, College School Exams Tests, Inmar, Microsoft, Sapient,


Why many objects can working together? How objects working togetherM I want to see example code.

2 Answers  


Categories