Answer Posted / v.senthil kumaran
Declare operator function (dummy) for assignment operator
in the private section of the class.
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
How do you initialize a string in c++?
Is set c++?
What are all predefined data types in c++?
Explain deep copy and a shallow copy?
A prime number is a number which is divisible only by itself and 1. Examples of the first few primes are 2, 3, 5, 7, 11. Consider writing a program which can generate prime numbers for you. Your program should read in and set a maximum prime to generate and a minimum number to start with when looking for primes. This program should be able to perform the following tasks: 1. Read the maximum number from user (keyboard input) to look for primes. The program should not return any primes greater than this number. 2. Read the minimum number from user (keyboard input) to look for primes. The program should not return any primes less than this number. 3. Generate and print out every prime number between the maximum prime and minimum number specified by the user.
I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly?
What's the order in which the objects in an array are destructed?
Can we declare a base-class destructor as virtual?
Is c++ still in demand?
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
Write about the use of the virtual destructor?
what is multi-threading in C++?
Why do we use constructor?
Explain how we implement exception handling in c++?
What are default parameters? How are they evaluated in c++ function?