Select the best from following statements is correct about the friend function in C++ programming language?
(i) A friend function is able to access private members of a class
(ii) A friend function can access the private members of a class
(iii) A friend function is able to access the public members of a class
(iv) All of the above