A

Admin • 833K Points
Coach

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();
};
  • (A) 1
  • (B) 2
  • (C) 3
  • (D) 4
  • Correct Answer - Option(B)
  • Views: 19
  • Filed under category C++
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.