Q. Which one of the following options is correct?

  • (A) Friend function can access public data members of the class.
  • (B) Friend function can access protected data members of the class.
  • (C) Friend function can access private data members of the class.
  • (D) All of the above.
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the above.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
192
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
87%
Success Rate