Which of the following cannot be a friend in C++ ?
The correct answer is B) Object
In C++, the friend keyword is used to grant access to the private and protected members of a class to external entities such as functions, classes, and operator functions. However, objects of any class cannot be made friends of any other or the same class. This means that you cannot declare an object as a friend using the friend keyword.