×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

A non-member function cannot access which data of the class?

22. A non-member function cannot access which data of the class?

  1. Private data
  2. Public data
  3. Protected data
  4. All of the above

Answer: A) Private data

Explanation:

A member function can access private data of the class but a non-member function cannot do that.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.