Table of Content

C Program to perform arithmetic operations on integer


Output :

Explanation :

In this example we have performed arithmetic operations in c programming.

ExpressionResult
25 + 530
25 – 520
25 * 5125
25 / 55
25 % 50

Now see the last line of the program, we used two % symbols

There is specific meaning to %d symbol in C programming when we need to print %d as part of string then we need to use two % symbols.