If you have any query feel free to chat us!
Happy Coding! Happy Learning!
In the C programming language, arithmetic operators are used to perform mathematical operations on variables and constants. Here are the most common arithmetic operators used in C:
+
: addition-
: subtraction*
: multiplication/
: division%
: modulus (remainder of the division)++
: increment--
: decrementFor example, the following code will add two variables a
and b
and store the result in a variable c
:
Comments: 0