Computer Science, asked by smarths4902, 9 months ago

C++ के विभिन्न ऑपरेटर्स का उदाहरण सहित वर्णन कीजिए।

Answers

Answered by Nidhi2503
1

Logical operators

  • Logical NOT ( !)

  1. 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 ( & )

  1. Compares 2 values and it is true only when both the values present in left and right of this operator is equal.

  • Logical. OR ( || )

  1. 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