C examples for Data Type:int
Use minus operator to get the difference between two integers
#include <stdio.h> int main (void) { int value1, value2, difference; value1 = 87;/*w ww .j a va 2 s . com*/ value2 = 15; difference = value1 - value2; printf ("%i minus %i is %i\n", value1, value2, difference); return 0; }