Computer Science - Object Oriented Programming Using C++ - Discussion

Discussion Forum : Object Oriented Programming Using C++ - Section 1 (Q.No. 7)
7.
Evaluate the following expression: 3 >6&&7>4
True
False
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
23 comments Page 2 of 3.

MUKESH said:   1 decade ago
3 is not greater than 6 i.e 3>6=false.
7 is greater than 4 i.e 7>4=true
Single & is used for logical & operation,while && is used for comparison of conditions therefore it is false.

Sheetal said:   1 decade ago
3 is not greater than 6 i.e 3>6=false.
7 is greater than 4 i.e 7>4=true
single & is used for logical & operation,while && is used for comparison of conditions therefore it is false

Prajakta said:   1 decade ago
&&:it is a logical and operator in which result is true only when.

Both conditions are true otherwise result is false.

3>6 && 7>4.

false && true.

false.

Noora said:   1 decade ago
3>6 is false
7>4 is true

In this expression AND condition is used
In and if one statement is false all result is false 3>6&&7>4

Faisal said:   1 decade ago
There are two conditions if one false then return false.

e.g. Both conditions must be true.

1*0 = 0.
1*1 = 1.
0 = false.
1 = true.

Michael samonte said:   1 decade ago
&& is a logical operator that is true only if both are true, otherwise, it is false.

Vrushabh said:   9 years ago
3>6 is false and we used && operator which gives the combined result as false.

Divya said:   1 decade ago
Ya its right the use Of && is for comparison thereby here answer is false.

Sapsarala said:   1 decade ago
Ya 3>6 is false and using of && so this statement is false.

Bilal munniwale said:   8 years ago
Whats the use of && operator here?


Post your comments here:

Your comments will be displayed after verification.