What is an Operator in C++ | Arithmatic,Logical and Relational Operators.
What is Operator in C++:
Operators are some special symbols used to perform a specific task on your data.
In C++ there are a variety of Operatoes that used to perform certain tasks.
Some Important Operators in C++
- Arithmatic Operators
- Logical Operators
- Relational Operators
- Bitwise Operators
- etc
There are two types of operators.
- Unary Operators
- Binary Operators
Exemple:
-,+,--,++
-a;
a++;
--a;
A type of operators that works with two operands is called Binary Operators.
Exemple:
+,-,*,/,%
a+b;
a-b;
a/b;
a%b;
Arithmatic Operators:
Relational Operators:
Logical Operators:
What is an Operator in C++ | Arithmatic,Logical and Relational Operators.
Reviewed by Alpha
on
3/04/2017 09:20:00 pm
Rating:
No comments: