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 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 difference between object oriented procedure and object oriented programming?
i.basic building block for procedure orientation is functions while for OOPS its objects.. ii.pop follows top-down hierarchy while opps its just opposite. iii.pop lacks encapsualtion and has acesses...
Madhuranjan
What is the difference between class and structure?
Basic difference between class and structure is that Structures are used to store data and a class defined both data and the functions that access that data.
Aparna
0 0
8
I am interested to enter IT field. But I am not from IT background. My qualification is BBM. I am planing to start with C and C++ course, but i don't have much idea about it. Can some one please let me know what is best course to start with.
if u really have interset in IT filed u better learn .net, core java, spring java, python programming languages than c and c++. but u don't know the basics programming language better going for c and c++ learning course.
Sachin
i am a student of 11th class and i want to make my future in C++ is this possible i am take arts inn 11th class
Definitely.. but you should be flexible moving to java/ other languages as well.. requirement/ demand keep changing in software. i can do the needful.. with 18+ yrs exp in working on live projects...
Rajneesh

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

Ask a Question

Related Lessons

C++ Program-Factorial
//Header files #include<iostream.h>#include<conio.h> //Main function void main(){ int num,i; long factorial=1; //Function for clearing screen clrscr(); cout<< "Enter a number:";...
S

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);} ___________________________________________ ...

Swapping Two Numbers
Q. Swap two numbers using the following function. Complete the function. You won't be allowed to use a temporary variable to swap the two numbers. void swap ( ... ) { /* Swap code goes here */ } ...

Necessity of Theory and Practical in Computer Science.
Upon studying a subject both theory and practical are important. Usually many schools concentrate more on theory and the marks not on the practical. Other and opposite kind of people prefer practical...

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

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