# C program to find subtraction of two integer number

**Given two integer number and find the subtraction of them using C program.**

In this program, we are reading two integer numbers in variable a and b and assigning the subtraction of a and b in the variable sub.

**Example 1:**

Input number 1: 40
Input number 2: 45
Output: -5

**Example 2:**

Input number 1: 45
Input number 2: 40
Output: 5

## Program to find subtraction of two numbers in C

need an explanation for this answer? contact us directly to get an explanation for this answerOutput