How to type greater than or equal to C language?

烟雨青岚
Release: 2020-06-19 15:01:20
Original
33703 people have browsed it

How to type greater than or equal to C language?

#How to type greater than or equal to C language?

C language' greater than or equal to symbol is ">=";

">=" is the relational operator for comparison operations.

Including greater than (>), less than (<), equal to (==), greater than or equal to (>=), less than or equal to (<=) and not equal to ( !=) Six types.

Be careful to write c code in English input state.

Knowledge expansion:

C language operation symbols refer to operation symbols.

The symbols in C language are divided into 10 categories: arithmetic operators, relational operators, logical operators, bit operation operators, assignment operators, conditional operators, comma operators, pointer operators, search operators Byte number operators and special operators.

Arithmetic operators:

are used for various numerical operations. There are seven types including addition ( ), subtraction (-), multiplication (*), division (/), remainder (or modular operation, %), autoincrement ( ), and autodecrement (--).

Relational operators:

are used for comparison operations. It includes six types: greater than (>), less than (<), equal to (==), greater than or equal to (>=), less than or equal to (<=), and not equal to (!=).

Logical operators:

are used for logical operations. Including and (&&), or (||), not (!).

Bit operation operator:

The quantities involved in the operation are operated in binary bits. It includes six types: bitwise AND (&), bitwise OR (|), bitwise NOT (~), bitwise XOR (^), left shift (<<), and right shift (>>).

Assignment operator:

is used for assignment operations, divided into simple assignment (=), compound arithmetic assignment (=,-=,*=,/=,%=) and compound bit There are eleven types of operation assignments (&=,|=,^=,>>=,<<=) in three categories.

Conditional operator:

This is a ternary operator used for conditional evaluation (?:).

Comma operator:

is used to combine several expressions into one expression (,).

Pointer operator:

is used for two operations: content (*) and address (&).

Operator for finding the number of bytes:

is used to calculate the number of bytes occupied by the data type (sizeof).

Special operators:

There are several types of brackets (), subscripts [], members (→,.), etc.

Recommended tutorial: "C Language"

The above is the detailed content of How to type greater than or equal to C language?. 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