Operators are used to perform operations on variables and values. C supports a variety of operators.
#includeint main() { int a = 10, b = 5; printf("Addition: %d\n", a + b); printf("Subtraction: %d\n", a - b); printf("Multiplication: %d\n", a * b); printf("Division: %d\n", a / b); return 0; }
This program demonstrates arithmetic operations such as addition, subtraction, multiplication, and division.