Oops online test, online practice test, exam, quiz
Online Practice Test
1. Which of the following is false for friend function?
Allows access to private or protected data in a class from outside the class
both a and c
Too many friend functions may hamper data security
When a function needs to operate on private data in objects from two different classes, the function can be declared as a friend in any of the classes
View Answer and Discussion
Copyright Â© 2008 - 2015 CareerRide.com. All rights reserved.
Follow us on Facebook!