answersLogoWhite

0


Best Answer

No.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can the scope resolution operator be overloaded in C plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Which c plus plus operators cannot be overloaded?

1. Member-of operator (.) 2. Pointer-to-member-of operator (.*) 3. Ternary condition operator (?:) 4. Scope resolution operator (::) 5. sizeof operator 6. typeid operator


What are special operators in c plus plus?

The only "special" operators in C++ are those that cannot be overloaded. That is; the dot member operator (.), pointer to member operator (.*), ternary conditional operator (:?), scope resolution operator (::), sizeof() and typeof().


What is the operator that cannot be overloaded in c plus plus and java?

conditional operator , size of operator , membership operator and scope resulation operator can not be overload in c++


Which operator cannot be overloaded c plus plus?

comma (,) is an example


Which operator not overloaded in c plus plus?

The if statementex.if (index < 5)printf("Index is less than 5\n");elseprintf("index is greater or equal to 5\n");(You can also replace the "if" with a "?" and the "else" with a "?" -- no, that would be syntax error)


Which operator is allow to access hidden global variable in c plus plus?

A hidden global variable must be one that has its scope blocked by a local variable of the same name. To access the hidden variable, use the scope resolution operator ::, such as is ::variable_name. If there is another reason for the hidden status, please clarify and restate the question.


What is scope resolution in c plus plus?

Scope resolution allows the programmer to disambiguate between names that are common to two or more namespaces. For instance, if you imported two namespaces that both exposed different string classes, the compiler would not know which string class to use unless you use scope resolution to differentiate them. Scope resolution can also be used to differentiate between the different function overrides within a class hierarchy. By default, the most-derived function override is always executed implicitly, but that override may choose to invoke one or more of its base class overrides using scope resolution. struct a { virtual void foo() {/*...*/} }; struct b : a { virtual void foo() override; }; void b::foo() { a::foo(); // explicitly invoke base class method using scope resolution. // ...specialisation code goes here... }


What is the operator is used to allocate the memory in c plus plus?

calloc operator,malloc operator


What is the function of the number sign in c plus plus?

If I understand your question, the number sign for a value or number can represent either a positive quantity or a negative quantity when attached to a native data type.For other data types it can represent the opposite of, or can be an overloaded operator (either unary or binary) that can take on any representation you with the operator to have (which can include non-intuitive reasoning's).


What is plus operator is it unary or binary?

There is no unary plus in C, but if there were, it would have only one operand, unlike the binary plus which has two: x = a + b; /* binary plus */ x = + b; /* unary plus -- not in C*/ x = a - b; /* unary plus */ x = - b; /* unary minus */


In excel if the formula equals A1 plus B1 what is the operator?

For =A1+B1, the operator is the plus sign (+).


How do you swap two numbers with bitwise operator in c plus plus?

// Note: ^ is the XOR operator a = a ^ b b = b ^ a a = a ^ b