Can data members be passed to a function using the object?
- Yes, it can be passed only inside class functions
- Yes, only if the data members are public and are being passed to a function outside the class
- No, can’t be passed outside the class
- No, can’t be done
(b).Yes, only if the data members are public and are being passed to a function outside the class
need an explanation for this answer? contact us directly to get an explanation for this answer