Question from the C++ test

What is the output of the following code?

Hard

Consider the following class declaration:

class B;
class A
{       	
protected:
        	int j;
private:
int i;
private:
friend class B;
 
}

Which of the following are true?

Author: Abha AgrawaStatus: PublishedQuestion passed 454 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!