Q. What will be output for the following code?
Code:
class Box
{
int capacity;
public:
void print();
friend void show();
bool compare();
friend bool lost();
};
β
Correct Answer: (B)
2