It checks the value of both the operands and if both the operands are true , then the condition becomes true
Try it by checking the following numbers in the code 0 && 3
It checks the value of both the operands and if any of the operand is true , then the condition becomes true
Try it by checking the following numbers in the code 0 || 3
It reverses the logical state of the operands for example if the condition is true
then it will make it false
and
vice-versa.Try it by checking the following numbers in the code !(0 || 3)