Answer Posted / 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 |
Post New Answer View All Answers
What is abstraction example?
what are the different types of qualifier in java?
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?
Why is polymorphism used?
what are the ways in which a constructors can be called?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What are classes oop?
Why do we use polymorphism in oops?
program for insertion ,deletion,sorting in double link list
How many human genes are polymorphic?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
Which language is not a true object oriented programming language?
to find out the minimum of two integer number of two different classes using friend function
What is difference between abstraction and encapsulation?
How do you define a class in oop?