STL (140)
OOPS (873)
C++ General (2409) When one must use recursion function? Mention what happens when recursion functions are declared inline?
1144I 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.
1095
Write about the retrieval of n number of objects during the process of delete[]p?
What is capacity in vector in c++?
How does c++ sort work?
How the programmer of a class should decide whether to declare member function or a friend function?
Define virtual constructor.
What is the this pointer?
What are the two different types of polymorphism?
What is token c++?
Name the implicit member functions of a class.
What are pointers used for c++?
What is a buffer c++?
How can we access protected and private members of a class?
write knight tour problem which is present in datastructure
Can we use struct in c++?
Is c++ harder than java?