The statement T&&T II F&&T where T is true and F is False is:
The statement T&&T II F&&T where T is true and F is False is: Correct Answer True
The correct answer is True.
- Concept:
- In C programming language,
- && represents a AND logic while II represents a OR logic.
- Combinations for both the logic are listed below:
- Logical AND (&&)
- false && false: false
- false && true: false
- true && false: false
- true && true: true
- Logical OR (||)
- false || false: false
- false || true: true
- true || false: true
- true || true: true
- Calculation:
- T&&T will give Ture
- F&&T will give False
- => True || False will give True
- Hence answer is True.
মোঃ আরিফুল ইসলাম
Feb 20, 2025