UrbanPro

Learn C++ Language from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

what do you mean scope resulation

Asked by Last Modified  

Follow 0
Answer

Please enter your answer

MS SQL SERVER DBA Trainer

According to me Scope resolution operator(::) is used to define a function outside a class or when we want to use a global variable but also has a local variable with same name.
Comments

Get Computer Science Class

while declaring and defining class and class members, it is difficult to represent overall class behavior at a glance. Class requires only basic declarations and we need to define remaining things outside the class. scope resolution operator (::) is used to specify particular member belongs to specific...
Comments

Computer

Scope resulation is a operator which lets the identifiers,functions or May be enumeration value to know which scope especially namespaces they belongs to. Note : scope is an enclosing context where values n expressions being declared.
Comments

Maths Master And Computer Magician

Its an operator which is use to define the defination of class outside the body of class which is already declared inside the class body and another use is to use wid global variable also when global and local variable have same name in program.
Comments

Physics Tutor

It is an operator that is used to define the scope of two variable . It is used to differentiate betweenthe global and the local variable. It's symbol is ::
Comments

Technology wizard

The scope resolution operator helps to identify and specify the context to which an identifier refers, particularly by specifying a namespace. The specific uses vary across different programming languages with the notions of scoping. In many languages the scope resolution operator is written "::".
Comments

16 Yrs of Experience in Teaching

:: is operator just for making more readable class and its function. It is not compulsory to use :: operator with class, but if you feel your class contains more functions and it is not properly readable to us that time just declare function prototype within a class and logic outside of the class using...
read more
:: is operator just for making more readable class and its function. It is not compulsory to use :: operator with class, but if you feel your class contains more functions and it is not properly readable to us that time just declare function prototype within a class and logic outside of the class using :: operator and make variable global. read less
Comments

Software Professional Trainer with 26+ years of Experience in Software Design and Development

Scope resolution defines the scope of local and global variable. Scoper resolution also used to access static variable int a = 5; void function ListValue() { int a = 10; cout << a; // prints 10 cout << ::a; // prints 5 }
Comments

The scope resolution operator helps to identify and specify the context to which an identifier refers,
Comments

Oracle, Hindi, C++, C, MS Office, VBScript,JavaScript,Spoken English etc with 29 years of experience

scope resolution operator ::
Comments

View 13 more Answers

Related Questions

What are the benefits of learning C++?
Its a programming language helps to increase dicision making and logic reasoning power
Sunita
what is constructor ?
Constructor is a special method which invoke automatically as instance created.
Avnish
Describe about private access specifier?
Private keyword, means that no one can access the class members declared private outside that class. By default class variables and member functions are private.
Prasad
1 1
8
What is a C++ identifier?
The C++ identifier is a name used to identify a variable, function, class, module, or any other user-defined item. An identifier starts with a letter A to Z or a to z or an underscore (_) followed by zero...
T.v.
0 0
6
Explain about member functions?
Member functions are part of the class, member functions are used to access, member variable in private, protected, public area and also call another member functions.
Zeeshan
0 0
5

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Predict the Output of C Questions based on Recursion and Macro
#include<stdio.h>void k(unsigned int i,unsigned int j){ static char x="0123456789ABCDEF"; if(i>=j) k(i/j,j); putchar(x);}void main(){ k(20,12);} ___________________________________________ ...

Is It Fine To Write “void main()” Or “main()” In C/C++?
The definition: void main() { /* ... */ } Is not and never has been C++, nor has it even been C. See the ISO C++ standard 3.6.1 or the ISO C standard 5.1.2.2.1. A conforming...

C++ Advanced Course Study With C++11 Features
OOPS(Object Oriented Programming Systems) In C++. Types of Languages 2GL(Basic,Instruction programming to microprocessors/MC), 3GL(COBOL(= EQUALS TO),C++,C,PASCAL,Java,C#) 4GL(HTML,CSS,JSON) Style...

Polymorphism and Virtual Functions
Polymorphism and Virtual Functions Compile Time Polymorphism or Early Binding or Static Binding An object is bound to its function call at compile time. Implemented using overloaded functions and...

Why do pointers have a datatype?
Before we start with pointers you must know what is a variable and a datatype. int a; This is the basic line in every program in 'C' . It means that we are asking the compiler to give us 2 bytes of space...

Recommended Articles

Introduction C++ is an excellent programming language and many of the applications are written in C++ language. It has generic, object-oriented & imperative programming features, and also provides facilities for low-level memory manipulation. Successor of C language, it is an OOP (object oriented programming) language...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Looking for C++ Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for C++ Language Classes?

The best tutors for C++ Language Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn C++ Language with the Best Tutors

The best Tutors for C++ Language Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more