Q. Which of the following statements is incorrect? (Solved)

1. Friend keyword can be used in the class to allow access to another class.

2. Friend keyword can be used for a function in the public section of a class.

3. Friend keyword can be used for a function in the private section of a class.

4. Friend keyword can be used on main().

  • d. Friend keyword can be used on main().
Subscribe Now

Get All Updates & News