Arithmetic Operators in C Programming
What are Arithmetic Operators?
Arithmetic operators perform mathematical operations on numeric values.
List of Arithmetic Operators
+— addition-— subtraction*— multiplication/— division%— modulus (remainder), works only with integers
int a = 10, b = 3;
printf("%d", a + b); // 13
printf("%d", a % b); // 1
Note on Integer Division
When both operands of / are integers, the result is truncated toward zero — 7 / 2 gives 3, not 3.5.
Ready to master real-world C Programming development?
Learn C Programming hands-on with mentor-led, live sessions.
.png)