Q:

If the object is not to be passed to any function but the values of the object have to be used then:

0

If the object is not to be passed to any function but the values of the object have to be used then:


  1. The data members should be passed separately
  2. The data members and member functions have to be passed separately
  3. The values should be present in other variables
  4. The object must be passed

All Answers

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

(a).The data members should be passed separately

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

total answers (1)

OBJECT ORIENTED PROGRAMMING - OBJECTS AND POINTERS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What will be the output if all necessary code is i... >>
<< What exactly is passed when an object is passed by...