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
In what situations do you have to use initialization list rather than assignment in constructors?
Explain linear search.
What is the use of string in c++?
What are the basic data types used in c++?
Write a c program for binary addition of two 8 bit numbers.
Differentiate between structure and class in c++.
Explain selection sorting?
In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?
What is insertion sorting?
When should overload new operator on a global basis or a class basis?
What are structures and unions?
What does #define mean in c++?
What is the function of I/O library in C++ ?
If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?
What is the identity function in c++? How is it useful?