+ 1

what does double semicolon operator (::) do?

10th Jul 2016, 8:31 AM
Kadamati Rituraj
Kadamati Rituraj - avatar
4 ответов
+ 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"; }
10th Jul 2016, 8:54 AM
®billa
®billa - avatar
0
its scope resolution operator and used to define constructors
13th Jul 2016, 3:44 AM
Priyanka Kohli
Priyanka Kohli - avatar
0
not semicolon double colon used for constructor
26th Jul 2016, 7:12 AM
Amit
Amit - avatar
0
It's called scope resolution operator
28th Jul 2016, 11:25 AM
vaishal