An operator is a symbol that tells the compiler to perform specific mathematical or logical manipulations. C++ is rich in built-in operators and provides following type of operators:
· Arithmetic Operators ( +, -, \, *, ++, –)
· Relational Operators (==, !=, >. <, >=, <=)
· Logical Operators (&&, ||, ! )
· Bitwise Operators (& |, ^, ~, <<, >>)
· Assignment Operators (=, +=, -=, *=, /=, %=, <<=, >>=, &=, ^=, |=)
· Misc Operators ( sizeof, & cast, comma, conditional etc.)