Answer Posted / aavesh yadav
Static functions are functions which can access only static
variables and local variables.It can be called by class
name bcoz it is specific for a class in which it is
defined,not for any specific object of that class.It can
not be inherited also.
Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
What is a template in c++?
Can I learn c++ as my first language?
What can c++ be used for?
What is the benefit of encapsulation?
When should I use unitbuf flag?
I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.
Explain the static storage classes in c++.
What is a literal in c++?
What are virtual functions in c++?
What is cin clear () in c++?
Differentiate between a copy constructor and an overloaded assignment operator.
Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement
What is the full form of c++?
Why is polymorphism useful?
find the two largest values among the 6 numbers using control structures : do-while,for,if else,nestedif- else ,while. one or two of them.