Differentiate between an array and a list?
No Answer is Posted For this Question
Be the First to Post Answer
What is ofstream c++?
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
What are templates? where we should use it?
What are the two shift operators and what are their functions?
describe private access specifiers?
Why do we need pointers?
What are c++ templates used for?
Can we remove an element in a single linked list without traversing? Lets suppose the link list is like this 1 2 3 4 5 6 We need to remove 4 from this list (without traversing from beginning) and the final link list shud be 1 2 3 5 6 only thing we know is the pointer to element "4". How can we remove "4" and link "3" to "5"?
Can member data be public?
What will i and j equal after the code below is executed? Explain your answer.
What are guid?
If dog is a friend of boy, is boy a friend of dog?