Logical Operator AND OR NOT | Operators in C | Basic Concepts of C | Lec 22 | C Programming

Опубликовано: 09 Ноябрь 2021
на канале: CSE Guru
405
4

C is the first and foremost programming language to programming. C is a high-level structured programming language developed by Dennis M Ritchie in the year 1972.

This video explains Operators in C Programming
Logical Operator
Operators used to combine two or more relational expressions
Output is True or False
Expressions with logical operators are called Logical Expressions

Different Logical Operators
Logical AND
OPERAND1 AND OPERAND2 RESULT
TRUE(1) && TRUE(1) TRUE(1)
TRUE(1) && FALSE(0) FALSE(0)
FALSE(0) && TRUE(1) FALSE(0)
FALSE(0) && FALSE(0) FALSE(0)

Logical OR
OPERAND1 OR OPERAND2 RESULT
TRUE(1) || TRUE(1) TRUE(1)
TRUE(1) || FALSE(0) TRUE(1)
FALSE(0) || TRUE(1) TRUE(1)
FALSE(0) || FALSE(0) FALSE(0)

Logical NOT
OPERAND1 NOT RESULT
TRUE(1) ! FALSE(0)
FALSE(0) ! TRUE(1)

#operatorsinc
#operatorsincprogramming
#operatorsinclanguage
#logicaloperator
#logicaloperatorsinc
#logicalnot
#logicaland
#logicalor
#clanguage
#cseguruvideos
#csegurucvideos
#cseguruprogrammingvideos
#fundamentalsofc



CSEGuru Videos
CSEGuru Compiler Design Videos:
   • Compiler Design  

CSEGuru DAA Videos
   • Design & Analysis of Algorithm  

CSEGuru Operating System Videos
   • Operating System  

CSEGuru Gate cse Videos
   • Gate cse  

CSEGuru NET cse Videos
   • NET cse  

CSEGuru Data Structure Videos
   • Data Structure  

CSEGuru Sorting Algorithm Videos
   • Sorting Algorithm