Answers for "c programming sum of two numbers"

C
0

add 2 numbers in c

#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;
}
Posted by: Guest on April-01-2022
0

c program to add two numbers

Enter two integers: 12
11
12 + 11 = 23
Posted by: Guest on March-02-2022

Code answers related to "c programming sum of two numbers"

Code answers related to "C"

Browse Popular Code Answers by Language