if u write a class do u write Assignment operator and copy
constructor
Answer / sachin
Compiler provide the assignment operator/ copy constructor
by default. The assignment operator and copy constructor do
the bit wise copy of the object. If user want to do the
member wise copy(ex:allocating the memory from the heap)
for the members, one can write his/her own assignment
operator/ copy constructor.
Is This Answer Correct ? | 11 Yes | 0 No |
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What is destructor in oop?
what is overloading
What is oops with example?
What is difference between function overloading and overriding?
what is the size of an empty class
any one please tell me the purpose of operator overloading
What are the four main oops concepts?
what is the main difference between sizeof() operator in c and c++
What are oops methods?
What is abstraction?
What is a null tree?