what is the output:
#include<stdio.h>
int sum(int a,int b);
int main()
{
    int a, b;
    printf("enter the value of a and b:\n");
    scanf("%d%d",&a,&b);
    int sum(a,b);
    printf("sum of a and b is : %d\n",sum);
    return 0;
}
int sum(int a,int b)
{
    int sum; 
    sum=a+b;
    return sum;
}

Posted on by