0
what is the basic use of scope resolution operator
4 Answers
+ 1
used to define data member outside the class
0
this is scope resolution operator.
this is used to show the scope of a variable or a function...
for example.
class A
{
public:
void display();
};
void A::display ()
{
cout<<"hello world";
}
0
this is scope resolution operator.
this is used to show the scope of a variable or a function...
for example.
class A
{
public:
void display();
};
void A::display ()
{
cout<<"hello world";
}
0
it is used to declare some thing for example a member function out of its scope that is out of the class