|
| |||
|
| |||
|
| |||
|
|
PitBull mauler; Canine pooch; pooch = mauler; Answer: excess fields get chopped off. In the code above, the program forgets all about how many people
mauler
has killed.Note that the reverse conversion (Canine to PitBull) doesn't make any sense, and is illegal (though you can define it yourself using operator=).