📚 Question Bank Q33 — Programming and Data Structure
Tags
Programming and Data Structure
Q33. Marks: +2.0 UGC NET Paper 2: Computer Science 7th Dec 2023 Shift 2

Given below are two statements:

Statement (I): The friend function and the member functions of a friend class directly access the private and protected data.

Statement (II): The friend function can access the private data through the member functions of the base class

In the light of the above statements, choose the most appropriate answer from the options given below:

1.Both Statement I and Statement II are correct 
2.Both Statement I and Statement II are incorrect
3.Statement I is correct but Statement II is incorrect ✓ Correct
4.Statement I is incorrect but Statement II is correct
📄 All “Programming and Data Structure” questions across papers
🏷 Change Tag for this Question