803 views
0 votes
0 votes

What if the "||" is replaced with "&&" ? 

( What does former condition in "if" results and how ?)

1 Answer

0 votes
0 votes

if the "&&" is replaced with "||"

it will print $equal$ because in OR condition if first expression is true then whole expression become true. 

Related questions

0 votes
0 votes
1 answer
1
HeadShot asked Dec 11, 2018
250 views
Ans : Option D But array size is 14 then how 15 is printed ?ptr size is 2 but precise answer given was 2.29 , how ?
0 votes
0 votes
0 answers
2
HeadShot asked Dec 11, 2018
380 views
Answer : Option A Doubt : 0 repeated n-1 times and a single 1 , then how <0,n ?
0 votes
0 votes
2 answers
3
HeadShot asked Dec 11, 2018
355 views
Why 50 * 3 and not 50+3 ?Does every Byte requires different instruction ?
0 votes
0 votes
0 answers
4
HeadShot asked Dec 11, 2018
335 views
Answer : Option C Please explain ( Why do we need to assume that there were seperate tables related to customer and store ? )