In this program, client is requested to enter two whole numbers. At that point, the total of those two whole numbers is put away in a variable and showed on the screen. 

To comprehend this precedent, you ought to have the information of following C programming points: 

C Programming Data Types 

C Programming Constants and Variables 

C Input Output (I/O) 

C Programming Operators 

Program to Add Two Integers 

#include <stdio.h> 

int fundamental() 

int firstNumber, secondNumber, sumOfTwoNumbers; 

printf("Enter two numbers: "); 

/Two numbers entered by client is put away utilizing scanf() work 

scanf("%d %d", &firstNumber, &secondNumber); 

/total of two numbers in put away in factor sumOfTwoNumbers 

sumOfTwoNumbers = firstNumber + secondNumber; 

/Displays total 

printf("%d + %d = %d", firstNumber, secondNumber, sumOfTwoNumbers); 

return 0; 

Yield 

Enter two whole numbers: 12 

11 

12 + 11 = 23 

In this program, client is requested to enter two whole numbers. Two numbers entered by the client is put away in factors firstNumber and secondNumber separately. This is finished utilizing scanf() work. 

C Programming Functions