C++ COURSE

C++ Operators

Learn C++ programming with EDUHUB Code Hub.

C++ Operators

Operators are used to perform operations on variables.

Arithmetic Operators



+
-
*
/
%


Example



int a = 10;

int b = 5;


cout << a + b;


15

Comparison Operators

== , != , > , < , >= , <=