When one must use recursion function? Mention what happens when recursion functions are declared inline?
1203I 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.
1141Post New C++ General Questions
Explain how the virtual base class is different from the conventional base classes of the opps.
Write about the members that a derived class can add?
What parameter does the constructor to an ofstream object take?
If all is successful, what should main return a) 0 b) 1 c) void
Do you know what is overriding?
Which software is used to run c++ program?
How many namespaces are there in c++?
What is fflush c++?
Is c++ faster than c?
How can you tell what shell you are running on unix system?
How is objective c different from c++?
What is the standard template library (stl)?
What is command line arguments in C++? What are its uses? Where we have to use this?
What is class in c++ with example?
Write a program in C++ for Fibonacci series