integer addition in c code example
Example 1: add 2 numbers in c
#include<stdio.h>
int main() {
int a, b, sum;
printf("\nEnter two no: ");
scanf("%d %d", &a, &b);
sum = a + b;
printf("Sum : %d", sum);
return(0);
Example 2: addition of two numbers in c
int num1,num2;
printf("%d",num1+num2);