(1)C language: ||, for example: a < b || a >; C.
(2) common usage:/,for example: a/b.
(3) The symbol in the logical operator is: ∨ Example: p or q is marked as p ∨ q.
Extended data
Logical operator
1, logical constants and variables: There are only two logical constants, namely 0 and 1, which are used to represent two opposing logical states. Like ordinary algebra, logical variables can also be represented by letters, symbols, numbers and their combinations, but there are essential differences between them, because logical constants have only two values, namely 0 and 1, and there is no intermediate value.
2. Logical operations: In logical algebra, there are three basic logical operations: AND, or NAND. There are many expressions of logical operations, such as statement description, logical algebra, truth table, Karnaugh map and so on.
3. Logical function: A logical function is an algebraic expression in which logical variables and constants are connected by operators. Similarly, logical functions can also be expressed in the form of tables and graphs.
4. Logic Algebra: Logic Algebra is a mathematical system that studies the operation and simplification of logic functions. The operation and simplification of logic function is the foundation of digital circuit course, and it is also the key of digital circuit analysis and design.