What is a scope resolution operator?

Answer Posted / pankaj

A scope resolution operator (::), can be used to define the
member functions of a class outside the class.
It shows the scope resolution operator untangling a mess
made by using the same names for different kinds of entities
base class overridden member function using the scope
resolution operator (: :)

Is This Answer Correct ?    25 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is it so that we can have virtual constructors but we cannot have virtual destructors?

4378


I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...

1859


Why is object oriented programming so hard?

848


What is the benefit of oop?

796


What are functions in oop?

803


What does and I oop mean in text?

880


What is stream in oop?

1063


What is the difference between a mixin and inheritance?

769


What are oops methods?

786


When not to use object oriented programming?

801


Is oop better than procedural?

792


What do you mean by Encapsulation?

834


What is encapsulation and abstraction? How are they implemented in C++?

886


Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

971


How does polymorphism work?

895