Saved Bookmarks
| 1. |
If programmer doesn’t define any copy assignment operator then ____________________(a) Compiler gives an error(b) Program fails at run time(c) Compiler gives an implicit definition(d) Compiler can’t copy the member valuesI had been asked this question by my school principal while I was bunking the class.This interesting question is from Assigning Objects in chapter Assigning Object, Pointer to Objects, Passing and Returning Object of Object Oriented Programming |
|
Answer» Right answer is (c) Compiler gives an implicit definition |
|