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

Which are the best books to learn C?
- Yashwant Kanetkar - E Balagurusamy
Kratika
What are the benefits of learning C++?
Its a programming language helps to increase dicision making and logic reasoning power
Sunita
What is inline function? Why pointers is not used in C++?
Inline function is the optimization technique used by the compilers. One can simply prepend inline keyword to function prototype to make a function inline. Inline function instruct compiler to insert complete...
Avinash
Is it possible to write big safe programs in C++?
yes. C++ is generally used to write system software. For example windows operating system are writeen in C++. Most of the operating system, device driver and antivirus programs are written by using C++.
Sapna
0 0
6
what is method over-riding and how it is used ? if possible send with code with output or screen photo ?
Method over-riding : it is a technique in which more then one function with same name and same signature( similar type parameter) can present in program. in overriding a subclass method overrides the definition...
Sayyad
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

Contents Of C++ Programming
1. History of CPP 2. Concepts of OOP's 3. Introduction and Features of CPP (OOP's) 4. Characteristics of OOP's 5. CPP Keywords 6. Major Components of CPP: Encapsulation Inheritance Polymorphism 7....

Magic in C=> OFFSET OF MACRO in C [offsetof(TYPE, MEMBER)]
Here I am going to discuss an exciting macro in C. It will give you offset of a member within a structure. NULL or 0 address is typecasted to TYPE first. It won't result in segmentation fault as we are...

How do i get best Campus / Off Campus Placement?
Companies are looking for Skilled Freshers. So build your technical skills while doing MCA / BTech / BCA / BSc (IT or CS) into below areas- 1. Strong your programming & debugging skills ...

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...

Lets learn why OOPS is popular?
1. Supports reusability- It means that once a class is designed it works just like a template which can be inherited. 2. Provides better management- It means that abstract classes and interfaces guide...
R

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 >

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 >

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 >

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

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