what is the basic use of scope resolution operator | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

what is the basic use of scope resolution operator

11th Jul 2016, 1:01 AM
Navneet
4 Respostas
+ 1
used to define data member outside the class
11th Jul 2016, 4:30 AM
Vishal S Benade
Vishal S Benade - avatar
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"; }
11th Jul 2016, 2:45 AM
Ā®billa
Ā®billa - avatar
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"; }
11th Jul 2016, 2:45 AM
Ā®billa
Ā®billa - avatar
0
it is used to declare some thing for example a member function out of its scope that is out of the class
9th Dec 2016, 5:05 PM
Navneet