Loading practice questions
If an object is passed by address, will be constructor be called?
Correct Answer: A — No, values are copied
Explanation:
A copy of all the values is created. If the constructor is called, there will be a compile time error or memory shortage. This happens because each time a constructor is called, it try to call itself again and that goes infinite times.