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 |
Should you protect the global data in threads? Why or why not?
What is byval and byref? What are differences between them?
different types of castings
What is persistence in oop?
why constructor cannt be declar virtually? why destructor cannt be overloaded?
what is graphics
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
Explain virtual inheritance?
Finding of the 4 larger (bigger) numbers from the list like{1245,4587,2145,1163,29987,65783.....}
What is object in oops?
What do you mean by stack program? Get me an example stack program?
What is a macro? And how is a macro same as a template?