+ 1
what does double semicolon operator (::) do?
4 Antworten
+ 2
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
its scope resolution operator and used to define constructors
0
not semicolon
double colon used for constructor
0
It's called scope resolution operator