C Tutorial

C Operators

Operators

Operators perform arithmetic, comparison, and logical operations on values.

int a = 9, b = 4;
printf("%d", a % b);
Try it Yourself
Run this C example in your local environment or course sandbox.