Q:

If an object is passed by address, will be constructor be called?

0

If an object is passed by address, will be constructor be called?


  1. Yes, to allocate the memory
  2. Yes, to initialize the members
  3. No, values are copied
  4. No, temporary object is created

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (c).No, values are copied

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING OBJECTS AND CLASSES IN OOPS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Is it possible that an object of is passed to a fu... >>
<< How many objects can be passed to a function simul...