STL (140)
OOPS (873)
C++ General (2409) When one must use recursion function? Mention what happens when recursion functions are declared inline?
1195I 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.
1135
Can we make copy constructor private in c++?
What is atoi?
Is c++ still in demand?
What is class in oop with example?
Give example of a pure virtual function in c++?
What is overloading unary operator?
Is java easier than c++?
When do we run a shell in the unix system? How will you tell which shell you are running?
What is general form of pure virtual function? Explain?
Explain what are single and multiple inheritances in c++?
Define upcasting.
Name the implicit member functions of a class.
Can malloc be used in c++?
Write a program to interchange 2 variables without using the third one.
What are the important components of cohesion?