What (foo(), val) expression in C does?

40 views Asked by At

In this snippet of C90:

extern float foo();

int bar(int a) {
    int b = (foo(), a); // <- this line
    return b;
}

Will foo() be evaluated? What will happen to its return value?

0

There are 0 answers