sum of two integer number – C Program

Sum of two integer number – C Program

Write a c program for sum of two integer given number.

In this c program we will input two integer number and get sum of them in result.


viod main()
  int a,b,sum;

  printf("Enter the first value : \n");
  printf("Enter the second value : \n");
  sum =a+b;
   printf("The sum is =  %d",sum);


The out put of sum of two integer c program :

Enter the first value :
Enter the second value :

The sum is = 11

Leave a Reply

Your email address will not be published. Required fields are marked *