answersLogoWhite

0


Best Answer

The new operators in C++ (but not in C) are new, delete, compl, and, and_eq, not, not_eq, or, or_eq, xor, xor_eq, bitand and bitor. Of those only the first two can really be said to aid OOP. However, other keywords that specifically aid OOP include class, friend, mutable, private, protected, public and template.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Four new operators added by c plus plus that aids OOP?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

C plus plus bit-wise operators?

Are very useful. Examples: & | ^ ~


How relational operators represented in c plus plus?

The relational operators are == (equal), != (not equal), < (less than), <= (less than or equal to), > (greater than) and >= (greater than or equal to). All relational operators are boolean, returning true or false depending on the l-value relationship with the r-value, with respect to the 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().


Compare java arithmetic and logic operators with c arithmetic and logical operators?

They are very similar,but when we do logic operators there are still some differences.In c or c plus plus ,logic true can be expressed as'true' or '0',but in java,true is just 'true'.If you gave a zero,it will treat it as type of integer ,and so as false.


What is the definition of Punctuators and Operators in C plus plus?

The following are the C++ punctuators: ! % ^ & * () - + = {} | ~ [] \ ; ' : " < > ? , . / # Some punctuators are also operators. The exact meaning of a punctuator is dependant upon the context. For instance, the open/close brace {} is used as a punctuator to delimit a class declaration, a function definition or a compound statement. But as an operator, it used to delimit an initialisation list. The # punctuator only has meaning to the preprocessor, used to introduce a preprocessing directive. Some punctuators can also be combined to produce other operators, such as: :: .* -> ->* && ++ -- == != <= >= += -= *= /= %= ^= |= &= << <<= >> >>= ?: ... In addition, C++ also has the following punctuators as operators: new delete and and_eq bitand bitor comp not not_eq or or_eq xor xor_eq

Related questions

What operators perform mathematical calculations such as adding and subtracting?

The main four operators are: Plus (+) Minus (-) Multiply (*) or (x) Divide (/) or (÷)


Printf and scanf Operators in C and C plus plus?

No, they are functions. Operators are -> or ++or /=


Examples of operators that can be used in a spreadsheet formula?

Multiplication, division, addition and subtraction are four operations that can be used. Their operators are * / + and - which all appear on your numeric keypad.Functions that can be used include SUM, MIN, MAX and COUNT.


C plus plus bit-wise operators?

Are very useful. Examples: & | ^ ~


What is used to test value of character or integer in c plus plus?

Use the comparison operators (==, <, <=, >, >=). All primitives (including char and int) support these built-in operators.


What are the storage allocation in C plus plus?

They mostly deal with pointers and new operators in memory.


What is four plus four plus four plus four plus four equal?

20


Is there a cobination of 4 identical numbers added together that equal 12 other than 4 plus 4 plus 4 equals 12?

four threes


What is the collective term for plus minus division and multiplication signs?

Arithmetic operators


What are valid Excel arithmetic operators?

The following are valid Excel operators for arithmetic: + (plus) - (minus) / (divide) * (multiply) ^ (power of) These can help you create operations, which would be your formulas that use the operators: =A2+A7 =10^2


How relational operators represented in c plus plus?

The relational operators are == (equal), != (not equal), < (less than), <= (less than or equal to), > (greater than) and >= (greater than or equal to). All relational operators are boolean, returning true or false depending on the l-value relationship with the r-value, with respect to the 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().