A
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();
};
{
int capacity;
public:
void print();
friend void show();
bool compare();
friend bool lost();
};
- Correct Answer - Option(B)
- Views: 19
- Filed under category C++
- Hashtags:
Discusssion
Login to discuss.