Question : add 2 numbers in c
Answered by : innocent-impala-tsw2s4i0ekzg
#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);
Source : | Last Update : Tue, 29 Dec 20
Question : c program to add two numbers
Answered by : fair-fly-4j7955pmfx8s
Enter two integers: 12
11
12 + 11 = 23
Source : https://www.programiz.com/c-programming/examples/add-numbers | Last Update : Wed, 09 Mar 22
Question : c code to add two numbers
Answered by : clever-cobra-6b0o0i5h00iq
int n,m;
printf("%d",n+m);
Source : | Last Update : Wed, 07 Apr 21
Question : add 2 numbers in c
Answered by : jad-chammas
#include <stdio.h>
int addNumbers(int a, int b)
{ int sum = a + b; return sum;
}
int main(void)
{ int a = 4; int b = 7; printf(addNumbers(a,b)); return 0;
}
Source : https://stackoverflow.com/questions/2162758/how-to-print-in-c | Last Update : Fri, 08 Apr 22