Addition of Two Number - C Language Programming

Program in C language to addition of two integer value.



Click here to open this program in Turbo C++

/*******************************************
Statement - Addition of two number
Programmer - Vineet Choudhary
Written For - http://developerinsider.co
********************************************/
#include <stdio.h>
#include <conio.h>

void main()
{
	int a, b, c;
	clrscr();
	printf("Enter two numbers to add\n");
	scanf("%d%d",&a,&b);
	c = a + b;
	printf("Sum of entered numbers = %d\n",c);
	getch();
}

/************************************************
Output -  
Enter two numbers to add  
2
3
Sum of entered numbers = 5
************************************************/
You've successfully subscribed to Developer Insider
Great! Next, complete checkout for full access to Developer Insider
Welcome back! You've successfully signed in
Success! Your account is fully activated, you now have access to all content.