When value of an object is assigned to another object ________________
(a) It becomes invalid statement
(b) Its values gets copied into another object
(c) Its values gets address of the existing values
(d) The compiler doesn’t execute that statement
I had been asked this question by my school principal while I was bunking the class.
The origin of the question is Assigning Objects topic in section Assigning Object, Pointer to Objects, Passing and Returning Object of Object Oriented Programming