[Solved] Write a function receives two arguments and returns the difference [closed]


You are missing an assignment

int minus(int a,int b)
{
    int c = a - b;
    return c;
}
int main()
{
    int a = 4; int b = 5;
    int d = minus(a,b);
    printf("%d", d);
    return 0;
}

3

solved Write a function receives two arguments and returns the difference [closed]