What are the static members and static member functions?
A static member function can only access static data member, other static member functions and any other functions from outside the class. Static member functions have a class scope and they do not have access to the this pointer of the class.
Is This Answer Correct ? | 0 Yes | 0 No |
Explain selection sorting. Also write an example.
What is lambda expression c++?
What are move semantics?
Are there any new intrinsic (built-in) data types?
What does flush do c++?
class base { public: int fun(int) {} }; class base2 { public: int fun(float) { } }; so here qustion is both function either function overloading or over riding;
What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?
What is the meaning of string in c++?
How can I improve my c++ skills?
What is virtual destructor ans explain its use?
Which one of the following describes characteristics of "protected" inheritance? a) The base class has access only to the public or protected members of the derived class. b) The derived class has non-public, inheritable, access to all but the private members of the base class. c) The derived class has access to all members of the base class. d) The private members of the base class are visible within the derived class. e) Public members of the derived class are privately accessible from the base class.
What does ctime() do?