How is a logical AND represented in C?

Options
- &&
- @@
- ||
- .AND


CORRECT ANSWER : &&

Discussion Board
Logical AND- &&

-The logical AND represented in C with symbol “&&”.
-It checks two conditions.
-If both the conditions are true, then it returns true.
e.g. (5>2)&&(6==9)
Here, (5>2) is true but (6==9) is false hence, result is false.

Sapna 02-15-2017 11:28 PM

ccc

I say computer is very important so make your life is easy .computer's use very fast so i say computer is most important

atal 07-24-2016 11:39 PM

ccc

very good

salim 01-11-2016 01:20 AM

Logical AND

Answer : &&

This "&&" symbol is used for Logical AND in 'C'.
When both the operands are true then the result is true.

Jayesh Sonar 02-24-2015 03:30 AM

c

I want to question

bhabani Sankar behera 10-31-2014 03:11 PM

Logical operator - AND

The logical AND operator indicates whether both operands are true.

Aparna 07-5-2013 06:37 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement