What is the purpose of templates in c++?
No Answer is Posted For this Question
Be the First to Post Answer
You run a shell on unix system. How would you tell which shell are you running?
What is atoi?
What is flush c++?
How do you invoke a base member function from a derived class in which you have not overridden that function?
What will happen if I allocate memory using "new" and free it using "free" or allocate sing "calloc" and free it using "delete"?
What are the different types of polymorphism in c++?
What is endl c++?
how can u create a doubly linked list with out using pointers?
class A { public: void f(); protected: A() {} A(const A&){} }; Examine the class declaration shown above. Why are the default and copy constructors declared as protected? 1. To ensure that A cannot be created via new by a more derived class 2. To ensure that A cannot be copied 3. To ensure that A cannot be used as a base class except when public inheritance has been used 4. To ensure that A cannot be created/copied outside the inheritance chain 5. To ensure that A cannot be instantiated as a static variable
How do you declare A pointer to a function which receives nothing and returns nothing
Why isn't sizeof for a struct equal to the sum of sizeof of each member?
What are the static members and static member functions?