In this C programming example, the user is asked to enter two integers. Then, the sum of these two integers is calculated and displayed on the screen.
Simple C Program to Add Two Numbers: This sample program lets the user enter two integer numbers, and perform addition or find the sum of them