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 is the syntex error?
A syntax error is a violation of the syntax, or grammatical rules, of a natural language or a programming language. ... A syntax error is called a fatal compilation error, because the compiler cannot translate...
Pranik
How to create my profile as technology(c++ programming) teacher?
C++ is not a pure OO language by any standards. It is extremely complex and confusing to a beginner to understand it properly. If you know C, you may find the syntax easier -- but if you want to learn...
Nilesh
What is the actual size of INT in the C language, 2 or 4 bytes?
The actual size to int is determined by the compiler as the program runs. But theoretically the size is 2 bytes. You can increase the size by adding keyword long infront of it to make the size 4 bytes. Eg int a; // 2 bytes Long int b; // 4 bytes
Kunal
What is Enum?
A Java Enum is a special Java type used to define collections of constants. More precisely, a Java enum type is a special kind of Java class. An enum can contain constants, methods etc. Java enums were added in Java 5.
S

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

Ask a Question

Related Lessons

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

Difference Of Inheritance In C++ And Java
In Java , multiple inheritance is not applicable directly but we can implement the concept by using the interfaces. In c++ and Java, the common types of inheritances are: Single Multi level Hybrid Hierarchical

Implicit Typecasting & Explicit Typecasting
In C++ it is possible to cast child class reference variable to parent class Reference. When ever we are Converting a derived-class reference or pointer to a base-class reference or pointer is called...

Interview Questions
(1) What is the output of below program: For(char i = 0; i<256; i++)Printf(“%d\n”,i); Modify above program so that it can prints number from 0 to 255. (2) Consider on following declaration: (i)...

All About Programming And A Good Programmer.
Hi, This is my first lesson for you guys. Hope you enjoy reading it. In recent community questions, I found many people wanted to be good programmers, or wanted to have good hands on certain language,...

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