20 Nov 2019

  • November 20, 2019
  • Amitraj
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++.

Translate

Popular Posts