Which of the following function can be used to access the private and protected data of a class?

1
Virtual function
2
Friend function
3
Static function
4
None of the above

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation