Logical Operators are AND , OR And NOT.
These Operators use to make more efficient conditions compare to a simple if else condition.
In This video I’ll briefly explain how we can use the logical operators in our program in c++.
AND Operator: In AND operator if all the given condition are true only than it will return true otherwise it will return false. Or we can say if only one condition is false it will return false value.
OR Operator: In OR operator if only one condition is true than it will return false. And it will returns false only when there is all the conditions are false.
NOT Operator: NOT operator use to make the condition opposite.
Hope you learn a lot from this video.
Support Alfa Technology by linking , commenting and sharing this video. And also subscribe the channel for more videos.
C++ Programming is one of the great programming languages and also c++ is one of the fastest high level programming language.
C++ use compiler to execute the code that’s why it…