answersLogoWhite

0

there are two short circuit gates, AND gate and OR gate.

AND gate produces true when all the inputs/values are true, otherwise false.

OR gate produces ture result when atleat one input is true, otherwise if all the inputs are false, overall result is False.

These are: && and in C

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What are the uses of logical operators in Java?

Logical Operators are those that are used for doing logical operations. There are a total of 6 logical operators (&, |, ^, !, &&, and ‖) Of the six logical operators listed above, three of them (&, |, and ^) can also be used as "bitwise" operators. There are two non-short-circuit logical operators. • & non-short-circuit AND • | non-short-circuit OR There are two short-circuit logical operators • && short-circuit AND • short-circuit OR


What two logical operators perform short-circuit evaluation?

In many languages both AND and OR operators perform short-circuit evaluation.


What are Short circuit operators in c language?

&& and are short circuit operator in C. It means that expressions chained with these operators are only evaluated until the result is unambiguously determined. For example, the expression a && b is guaranteed to be false if a is false. In this case, the term b is not evaluated, and any possible side-effects of b will not occur. The logical OR () is implemented in a similar fashion: c d is guaranteed to be true of c evaluates to true, and d is not being evaluated in this case. The ternary ? operator is not a short circuit operator (this was listed as a short-circuit operator in a previous revision of this answer). An expression that uses the ternary operator, for example e = f ? g : h is nothing but an alternative form of an if-else construct. The terms f, g and h may each contain short-circuit operators and be evaluated in the manner discussed above, but the ternary operator itself has no short-circuit characteristic.


What logical operator perform short-circuit evaluation?

In many languages both AND and OR operators perform short-circuit evaluation.


What are the mathematical operators of c?

the mathematical operators of c are.....%,*,/,+,-


What are the operators in c tokens?

All arithmetic, logical operators are operators in c tokens. As: +, - , ++, --, %, &&, &, >>, << etc.


Printf and scanf Operators in C and C plus plus?

No, they are functions. Operators are -> or ++or /=


What are the different Turbo C operators?

TurboC is a program, the language is C Some of the operators are: . -> * [] () , ?: = == < <= > >= != + += ++ - -= -- % %= / /= << <<= >> >>= ! ~ ^ & &= && | |=


What is a relational operators in c?

Relational operators are those operators which shows relation between two operands. e.g. ==, <=,>=,<,>


How many types of logical operators in c only?

There are three logical operators in C; AND (&), OR (|), and NOT (^). These are the bitwise versions. The combinatorial versions are &&, , and !.


When you will get to know that short circuit will happen?

1. That if a short circuit occurs we will get a sign before short circuit will happen or not ? 2. what we can do ? 3. how fuse can get a short circuit ? 4. which wires we have to use from preventing short circuit ?


What are the operators of turbo c?

= == != < > <= >= etc