Predict the output:


class sookshmas
{
private:
int k;

public:
sookshmas()
{
k = 10;
}
friend void call();
};
void call()
{
cout k endl;
}
int main()
{
sookshmas s;
s.call();
return 0;
}

Posted on by