When one must use recursion function? Mention what happens when recursion functions are declared inline?
649I 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.
610Post New C++ General Questions
Can comments be longer than one line?
What is the basic concept of c++?
Out of fgets() and gets() which function is safe to use and why?
Write a note about the virtual member function?
What does I ++ mean in c++?
Can a list of string be stored within a two dimensional array?
What is the difference between a definition and a declaration?
write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num
What is the difference between a declaration and a definition?
Is python better than c++?
Describe public access specifiers?
What does ios :: app do in c++?
Incase of a function declaration, what is extern means?
Is eclipse good for c++?
What are static member functions?