...
Question 15926 – STQC-NIELIT SC-B 2021
March 17, 2024
Question 6971 – Computer-Graphics
March 17, 2024
Question 15926 – STQC-NIELIT SC-B 2021
March 17, 2024
Question 6971 – Computer-Graphics
March 17, 2024

OOPS

Question 69
A member function can always access the data in __________ , (in C++).
A
the class of which it is member
B
the object of which it is member
C
the public part of its class
D
the private part of its class
Question 69 Explanation: 
→ A member function can always access the data in the class of which it is member.
→ Functions within classes can access and modify (unless the function is constant) data members without declaring them, because the data members are already declared in the class.
Correct Answer: A
Question 69 Explanation: 
→ A member function can always access the data in the class of which it is member.
→ Functions within classes can access and modify (unless the function is constant) data members without declaring them, because the data members are already declared in the class.

Leave a Reply

Your email address will not be published. Required fields are marked *