Interviews2 answers
2 Answers
step:1 First ANDing of false and true will perform and o/p will be false .
Step:2 ORing of false and True will perform and o/p will be True
Step 3: In final step ANDing of True and true will perform and final o/p will be True
so if block will be execute and "hello" will print
Pankaj Kumar ChoudharyPosted Feb 20, 2015, 8:59 PM EST
hello because true && true return true false&&true return false here one condition true so it show hello but when you put false&&true&&true&&true in this case you get output welcome because here i using && operator it return false
Nanhe SiddiquePosted Feb 11, 2015, 2:39 AM EST


