Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - What are the integer division operators in C language?
What are the integer division operators in C language?
In C language, operands must be integers. The operator is:

① remainder operator%

② bit operators ~,&; 、|、^、<; & lt、gt; & gt。

The specific reasons are:

① The remainder operation must be an integer, because the remainder is an operation in integer division. draw

② Bit operations must be integers, because bit operations operate on bits in integers. draw

C language is a general computer programming language, which is widely used. The design goal of C language is to provide a programming language that can compile and process low-level memory in a simple way, generate a small amount of machine code and run without any support of running environment.