Operators in C++
C++ has a rich set of Operators. All C operators are valid in C++ also. In addition, C++ introduces some new operators;
<< Insertion operator
>> Extraction operator
:: Scope resolution operator
::* Pointer to member declaration
->* Pointer to member operator
.* Pointer to member operator
delete Memory release operator
new Memory allocation operator
endl Line feed operator
setw Field width operator
* All C operators like Arithmetic, logical, Relational, Bitwise, Assignment, comma and Others are available in C++.
C++ has a rich set of Operators. All C operators are valid in C++ also. In addition, C++ introduces some new operators;
<< Insertion operator
>> Extraction operator
:: Scope resolution operator
::* Pointer to member declaration
->* Pointer to member operator
.* Pointer to member operator
delete Memory release operator
new Memory allocation operator
endl Line feed operator
setw Field width operator
* All C operators like Arithmetic, logical, Relational, Bitwise, Assignment, comma and Others are available in C++.