When one must use recursion function? Mention what happens when recursion functions are declared inline?
1140I 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.
1092Post New C++ General Questions
Can you help me with this one? Make a program that when a user inputed a Product Name, it will display its price, and when the user inputed the quantity of the inputed product, it will show its total price. The output must be like this: Product Name: Price: Quantity: Total Price: ..this is the list of products to be inputed: Cellphone - 1500 Washing Machine - 5200 Television - 6000 Refrigirator - 8000 Oven - 2000 Computer - 11000 thanks..:D
Which programming language is best to learn first?
what is VOID?
What it is and how it might be called (2 methods).
Can c++ do everything c can?
How does java differ from c and c++?
What are activex and ole?
What is a Default constructor?
Please explain the reference variable in c++?
What is the use of data hiding?
Can I uninstall microsoft c++ redistributable?
Define the process of error-handling in case of constructor failure?
What gives the current position of the put pointer?
What are the comments in c++?
Explain virtual class and friend class.