Poll: Kiểm tra kiến thức C++ - 1.02

Let’s have a discussion about this problem and get the answer here http://www.indiabix.com/cpp-programming/questions-and-answers/
2. 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().
1 Like
83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?