Home >Backend Development >C++ >What are the c++ operators?
C provides an extensive set of operators, classified as follows: Arithmetic operators ( , -, *, /, %, , --) Assignment operators ( =, =, -=, *=, /= , %=) comparison operators (==, !=, <, >, <=, >=) logical operators (&, |, ^,!) bitwise operators (&, |, ^, <<, >>) Pointer operators (*, &, ->) Other operators (sizeof, ?:,,,)
C Operator Overview
C is a powerful programming language with a rich set of operators for performing a variety of operations. These operators can be divided into the following categories:
1. Arithmetic operators
2. Assignment operator
3. Comparison operators
4. Logical operators
5. Bitwise operators
6. Pointer operator
7. Other operators
The above is the detailed content of What are the c++ operators?. For more information, please follow other related articles on the PHP Chinese website!