C++ के विभिन्न ऑपरेटर्स का उदाहरण सहित वर्णन कीजिए।
Answers
Answered by
1
Logical operators
- Logical NOT ( !)
- It negotiates or says that some variable or constant is not equal to another which is present to the right of this operator.
- Logical AND ( & )
- Compares 2 values and it is true only when both the values present in left and right of this operator is equal.
- Logical. OR ( || )
- Compares 2 values and it is true when any one of the values present in left and right of this operator is equal.
Relational operators
They relate between two given values says that which among the given is (greatest, greater than or equal to, less than ,less than or equal to, equal to , not equal to )
> , ≥ , < , ≤ , = , !=
Arithmetic operators
Used only for mathematical calculations ( addition , subtraction , multiplication , division , modulus )
+ , - , * , / , %
Hope so it may help you
please mark me as the Brainliest answer
Similar questions