C Programming Code Examples C > Miscellaneous Code Examples Program to Demonstrates binary expressions using integer arithmetic Program to Demonstrates binary expressions using integer arithmetic #include<stdio.h> int main() { /* Local Definitions */ int x = 8; int y = 8; /*Statements*/ printf("%d + %d = %d \n", x, y, x + y); printf("%d - %d = %d \n", x, y, x - y); printf("%d * %d = %d \n", x, y, x * y); printf("%d / %d = %d \n", x, y, x / y); printf("%d %% %d = %d\n", x, y, x % y); return(0); }