Answers for "how to add more digits in one variable in c"

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

Code answers related to "how to add more digits in one variable in c"

Code answers related to "C"

Browse Popular Code Answers by Language