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 |
why destructor is not over loaded?
how to find no of instances of an object in .NET?
Name an advantage of linked list over array?
c++ program to swap the objects of two different classes
difference between overloading and overridding
pointers are support in C#? if yes then how to use it?
8 Answers Softvision Solution,
You attempt to query the data base with this command: SELECT name, salary FROM employee WHERE salary=(SELECT salary FROM employee WHERE last name='Wagner' OR dept no=233) Choose most appropriate option from the following: 1)Sub-queries are not allowed in the where clause. 2)a multiple row sub-query used with a single row comparison operator. 3)a single row query is used with a multiple row comparison operator.
the difference between new and malloc
what is object oriented programming and procedure oriented programming?
write a programe to calculate the simple intrest and compund intrest using by function overlading
What are the components of marker interface?
what is the drawback of classical methods in oops?