What are operators ? write about any three types of operators in detail.
Answers
Answered by
3
Answer:
An operator is a symbol that tells the compiler to perform a certain mathematical or logical manipulation. Operators are used in programs to manipulate data and variables
1. Arithmetic Operators
It includes basic arithmetic operations like addition, subtraction, multiplication, division, modulus operations, increment, and decrement.
2. Relational Operators
It is used to compare two numbers by checking whether they are equal or not, less than, less than or equal to, greater than, greater than or equal to.
3. Logical Operators
It refers to the boolean values which can be expressed as:
Binary logical operations, which involves two variables: AND and OR
Unary logical operation: NOT
Explanation:
Similar questions