Report Bug

QusA ________ function has access to all private and protected members of the class for which it is a friend. QusA ________ function has access to all private and protected members of the class for which it is a friend.


A. Static function
B. Friend function
C. Const function
D. Virtual function


Solution
B. Friend function



Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad