four new operators added by c++ which aid object oriented programming. in c++
Answers
Answered by
8
The four new operators added by C++ includes the following : new, delete, compl, and, and_eq, not, or, or_eq, xor, xor_eq, and bitor.
Amongst the given 4, only the first two are considered to be said to aid OOP.
Also, other keywords that aid OOP are class, friend, mutable, private, protected, and template.
Answered by
1
C++: A general-purpose programming language which imperative, object-oriented and generic programming features.
Operators: Symbols to perform specific mathematical and logical computations on operands.
Some of the new operators in C++ are,
- new - Allocate memory
- delete - Release memory
- compl - Complement
- and - And operation
- _eq - Equation
Read more on Brainly.in - https://brainly.in/question/6294244
Similar questions