Home > Common Problem > What are the three basic operations of computer logic operations?

What are the three basic operations of computer logic operations?

Release: 2020-03-20 10:25:10
Original
25880 people have browsed it

What are the three basic operations of computer logic operations?

Three basic operations of computer logic operations:

1. Logical AND (&&)

When the lvalue and rvalue are both true, Return true, if both sides are false or one of the values ​​on both sides is fasle, then return false

2. Logical OR (||)

Return the first true value found , if both are false, the last value is returned.

3. Logical NOT (!)

Its function is to negate the Boolean value of the number.

The above is the detailed content of What are the three basic operations of computer logic operations?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template