Logical operators in C

Logical operators in C-:  C support three type logical operators these are here

  1.  &&   meaning this AND
  2.  ||        meaning  this OR
  3.  !        meaning this   NOT

The logical operators && and || are used when we test more then one condition and want to result. as like

x>Y && x==10

brief detail here— When we compare two or more then two the logical operators are used

 

Leave a Reply

Your email address will not be published. Required fields are marked *