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 3 of 3.

Lokesh said:   3 years ago
False is the right answer.

Ashwini said:   1 year ago
Agree, False is the right answer.

Dhiraj said:   6 months ago
3 > 6 && 7 > 4

Evaluates as follows:
3 > 6 → false (0) because 3 is not greater than 6.
7 > 4 → true (1) because 7 is greater than 4.
False && true → false (0) because the && (logical AND) operator returns true only if both conditions are true.
(1)


Post your comments here:

Your comments will be displayed after verification.