πŸ“Š C++
Q. Which of the following statements is incorrect?
  • (A) Friend keyword can be used in the class to allow access to another class.
  • (B) Friend keyword can be used for a function in the public section of a class.
  • (C) Friend keyword can be used for a function in the private section of a class.
  • (D) Friend keyword can be used on main().
πŸ’¬ Discuss
βœ… Correct Answer: (D) Friend keyword can be used on main().

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
98
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Priyanka Tomar
Publisher
πŸ“ˆ
88%
Success Rate