What is static function? Explain with an example
No Answer is Posted For this Question
Be the First to Post Answer
What things would you remember while making an interface?
What issue do auto_ptr objects address?
What is difference between class and function?
What is the use of c++ programming language in real life?
What is exception handling in C++?
What is an operator in c++?
What are advantages and disadvantages of Design patterns?
Define Virtual function in C++.
What is the use of setfill in c++?
If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?
class basex { int x; public: void setx(int y) {x=y;} }; class derived : basex {}; What is the access level for the member function "setx" in the class "derived" above? a) private b) local c) global d) public e) protected
Can a constructor be private?