class A
{
private:
int a;
A():a(10)
}
friend void show();
};
void show()
A ob;
cout<<ob.a;
int main() {
show();
No comments:
Post a Comment