Question: Suppose cond 1 and cond 2 are two boolean expressions. When will the following if condition be true? if ( cond 1 && cond 2
Suppose cond and cond are two boolean expressions. When will the following if condition be true?
if cond && cond
When either cond or cond are true
When cond is false and cond is false
When both cond and cond are true
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
