Define variables of the type integer : int Declaration « Data Type « C Tutorial






#include <stdio.h>
main(){
    int i,j,k;
   
    i = 6;    
    j = 8;
    k = i + j;
   
    printf("sum of two numbers is %d \n",k);
}
sum of two numbers is 14








2.2.int Declaration
2.2.1.Define variables of the type integer