C Program To Find Sum Of Two Numbers

How To Write a C Program To Find Sum Of Two Numbers in C Programming Language ?


Solution For C Program To Find Sum Of Two Numbers:
#include<stdio.h>
#include<conio.h>

void main()
{
int a,b,sum;
clrscr();

printf("Enter two no: ");
scanf("%d%d",&a,&b);

sum = a+b;

printf("Sum : %d",sum);

getch();
}
Output :
Enter two no: 5 6
Sum : 11

Tags: C Program To Find Sum Of Two Numbers, c program to find sum of two numbers using pointers, c program to find sum of two numbers using functions, c program to find sum of two numbers using recursion, addition program in c language, write a c program to add two numbers
c program examples, c program to find sum of n numbers, c program to find sum of n numbers using while loop.


Learn More :